#DC5F87#DC5F87

#DC5F87 is a light, vivid pink. Relative luminance 0.251; OKLCH L 65.2% C 0.161 H 2.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#DC5F87
RGBrgb(220, 95, 135)
HSLhsl(341, 64%, 62%)
HSVhsv(341, 57%, 86%)
CMYKcmyk(0%, 56.8%, 38.6%, 13.7%)
CIE-LABlab(57.22, 52.66, 2.53)
CIE-LCHlch(57.22, 52.72, 2.75°)
OKLaboklab(65.2% 0.1605 0.0072)
OKLCHoklch(65.2% 0.161 2.6)
XYZxyz(37.9828, 25.1534, 25.7718)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5F87 #5FDCB4
analogous
#DC5FC6 #DC5F87 #DC765F
triadic
#DC5F87 #87DC5F #5F87DC
tetradic
#DC5F87 #C6DC5F #5FDCB4 #765FDC
square
#DC5F87 #C6DC5F #5FDCB4 #765FDC
split-complementary
#DC5F87 #5FDC76 #5FC6DC
monochromatic
#9E234A #D02E62 #DC5F87 #E791AD #F2C3D2

Accessibility & contrast

On white

3.48
#DC5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#DC5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5F87
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5F87#FFFFFF#000000##000000
##DC5F871.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#767A88
Deuteranopia (green-blind)
#969284
Tritanopia (blue-blind)
#ED536E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dc5f87;
/* rgb */ color: rgb(220, 95, 135);
/* oklch */ color: oklch(65.2% 0.161 2.6);
Tailwind
colors: {
  custom: {
    50: '#eb91a9',
    500: '#dc5f87',
    950: '#000000',
  },
}
SCSS
$custom: #dc5f87;
$custom-light: #eb91a9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5f87",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 340.8,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65201,
    "c": 0.16064,
    "h": 2.6
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#DC5F87
secondary
#B4E3D4
accent
#CC931A
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#170D0F
muted
#857E7F

Preview Lab

Preview with #DC5F87

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DC5F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva