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

Open in the picker

Deep Pink in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#ff1493
RGBrgb(255 20 147)
RGB legacyrgb(255, 20, 147)
RGB percentrgb(100% 7.84% 57.65%)
HSLhsl(327.6 100% 53.9%)
HSL legacyhsl(327.6, 100%, 53.9%)
HSV / HSBhsv(327.6, 92.2%, 100%)
HWBhwb(327.6 7.8% 0%)
Nearest namedeeppink
CMYKcmyk(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.

OKLChoklch(65.493% 0.26134 356.945)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(65.493% 0.26097 -0.01393)
CIE LChlch(56.604% 83.552 357.173)
CIE Lablab(56.604% 83.45 -4.121)
Display P3color(display-p3 0.9181 0.2208 0.5687)
Rec. 2020color(rec2020 0.8015 0.2512 0.5189)
srgb-linearcolor(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 — sRGBvec3(1.0, 0.078, 0.576)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(1.0, 0.007, 0.292)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(1.0, 0.078, 0.576, 1.0)
GLSL vec4 — linearvec4(1.0, 0.007, 0.292, 1.0)
GLSL ivec3ivec3(255, 20, 147)
HLSL float3 — sRGBfloat3(1.0, 0.078, 0.576)
HLSL float3 — linearfloat3(1.0, 0.007, 0.292)
HLSL float4 — sRGBfloat4(1.0, 0.078, 0.576, 1.0)
HLSL half4 — sRGBhalf4(1.0, 0.078, 0.576, 1.0)
WGSL vec3f — sRGBvec3f(1.0, 0.078, 0.576)
WGSL vec4f — sRGBvec4f(1.0, 0.078, 0.576, 1.0)
WGSL vec3<f32> — linearvec3<f32>(1.0, 0.007, 0.292)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew 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 Color32new Color32(255, 20, 147, 255)
Unreal FLinearColorFLinearColor(1.0f, 0.007f, 0.2918f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(255, 20, 147, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(1, 0.078, 0.576, 1)
Flutter ColorColor(0xFFFF1493)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(255, 20, 147)
SwiftUI ColorColor(red: 1, green: 0.078, blue: 0.576)
UIKit UIColorUIColor(red: 1, green: 0.078, blue: 0.576, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xFF1493
0x hex (ARGB)0xFFFF1493
Array 0–1[1, 0.078, 0.576]
Array 0–255[255, 20, 147]
Decimal integer16716947

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.

PairingWCAG 2 ratioLevelAPCASuitable for
Deep Pink on white3.64:1AA LargeLc 62Headings and large text
Deep Pink on black5.77:1AALc 40Non-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 match
  • hotpinkΔEok 0.099
  • mediumvioletredΔEok 0.113
  • palevioletredΔEok 0.126
  • crimsonΔEok 0.134
  • orchidΔEok 0.141