CSS named colour
Deep Pink
#ff1493
A CSS named colour: deeppink is valid anywhere a colour is expected.
- RGB
- rgb(255 20 147)
- HSL
- 328°, 100%, 54%
- OKLCh
- 65.5% 0.261 356.9
Deep Pink in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #ff1493 | |
|---|---|---|
| RGB | rgb(255 20 147) | |
| RGB legacy | rgb(255, 20, 147) | |
| RGB percent | rgb(100% 7.84% 57.65%) | |
| HSL | hsl(327.6 100% 53.9%) | |
| HSL legacy | hsl(327.6, 100%, 53.9%) | |
| HSV / HSB | hsv(327.6, 92.2%, 100%) | |
| HWB | hwb(327.6 7.8% 0%) | |
| Nearest name | deeppink | |
| CMYK | cmyk(0%, 92.2%, 42.4%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(65.493% 0.26134 356.945)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(65.493% 0.26097 -0.01393) | |
| CIE LCh | lch(56.604% 83.552 357.173) | |
| CIE Lab | lab(56.604% 83.45 -4.121) | |
| Display P3 | color(display-p3 0.9181 0.2208 0.5687) | |
| Rec. 2020 | color(rec2020 0.8015 0.2512 0.5189) | |
| srgb-linear | color(srgb-linear 1 0.007 0.2918)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.4676 0.2387 0.2975) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(1.0, 0.078, 0.576)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(1.0, 0.007, 0.292)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(1.0, 0.078, 0.576, 1.0) | |
| GLSL vec4 — linear | vec4(1.0, 0.007, 0.292, 1.0) | |
| GLSL ivec3 | ivec3(255, 20, 147) | |
| HLSL float3 — sRGB | float3(1.0, 0.078, 0.576) | |
| HLSL float3 — linear | float3(1.0, 0.007, 0.292) | |
| HLSL float4 — sRGB | float4(1.0, 0.078, 0.576, 1.0) | |
| HLSL half4 — sRGB | half4(1.0, 0.078, 0.576, 1.0) | |
| WGSL vec3f — sRGB | vec3f(1.0, 0.078, 0.576) | |
| WGSL vec4f — sRGB | vec4f(1.0, 0.078, 0.576, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(1.0, 0.007, 0.292) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(1.0f, 0.078f, 0.576f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(255, 20, 147, 255) | |
| Unreal FLinearColor | FLinearColor(1.0f, 0.007f, 0.2918f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(255, 20, 147, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(1, 0.078, 0.576, 1) | |
| Flutter Color | Color(0xFFFF1493)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(255, 20, 147) | |
| SwiftUI Color | Color(red: 1, green: 0.078, blue: 0.576) | |
| UIKit UIColor | UIColor(red: 1, green: 0.078, blue: 0.576, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFF1493 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFF1493 | |
| Array 0–1 | [1, 0.078, 0.576] | |
| Array 0–255 | [255, 20, 147] | |
| Decimal integer | 16716947 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Deep Pink on white | 3.64:1 | AA Large | Lc 62 | Headings and large text |
| Deep Pink on black | 5.77:1 | AA | Lc 40 | Non-text elements only |
Deep Pink text on a white background
Deep Pink text on a black background
White text on Deep Pink
Black text on Deep Pink
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#ffeef8
- 100#ffdfee
- 200#ffc5dd
- 300#ff9fc7
- 400#ff64ab
- 500#f8008e
- 600#d20074
- 700#ab005d
- 800#8a0049
- 900#6f0039
- 950#440020
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#ff58a4
- Tint 2#ff7fb6
- Tint 3#ffa2c8
- Tint 4#ffc2da
- Tint 5#ffe1ec
- Shade 1#c80d72
- Shade 2#940753
- Shade 3#630336
- Shade 4#36011b
- Shade 5#0f0004
Colours that work with Deep Pink
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #00ac8f
- #8b9c00
- #009ce9
- #dd3be1
- #ff1d28
Closest CSS names
deeppinkexact matchhotpinkΔEok 0.099mediumvioletredΔEok 0.113palevioletredΔEok 0.126crimsonΔEok 0.134orchidΔEok 0.141