#DC5FB8#DC5FB8

#DC5FB8 is a light, vivid pink. Relative luminance 0.269; OKLCH L 66.9% C 0.186 H 340.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#DC5FB8
RGBrgb(220, 95, 184)
HSLhsl(317, 64%, 62%)
HSVhsv(317, 57%, 86%)
CMYKcmyk(0%, 56.8%, 16.4%, 13.7%)
CIE-LABlab(58.85, 59.00, -23.48)
CIE-LCHlch(58.85, 63.50, 338.30°)
OKLaboklab(66.94% 0.1745 -0.063)
OKLCHoklch(66.94% 0.186 340.1)
XYZxyz(42.2599, 26.8642, 48.2977)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FB8 #5FDC83
analogous
#C25FDC #DC5FB8 #DC5F7A
triadic
#DC5FB8 #B8DC5F #5FB8DC
tetradic
#DC5FB8 #DCC25F #5FDC83 #5F7ADC
square
#DC5FB8 #DCC25F #5FDC83 #5F7ADC
split-complementary
#DC5FB8 #7ADC5F #5FDCC2
monochromatic
#9E237A #D02EA1 #DC5FB8 #E791CE #F2C3E5

Accessibility & contrast

On white

3.30
#DC5FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#DC5FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FB8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FB8#FFFFFF#000000##000000
##DC5FB81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6581BB
Deuteranopia (green-blind)
#8995B5
Tritanopia (blue-blind)
#E86283
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #dc5fb8;
/* rgb */ color: rgb(220, 95, 184);
/* oklch */ color: oklch(66.9% 0.186 340.1);
Tailwind
colors: {
  custom: {
    50: '#ea92cd',
    500: '#dc5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fb8;
$custom-light: #ea92cd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fb8",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 317.28,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66942,
    "c": 0.18557,
    "h": 340.1
  },
  "luminance": 0.26861
}

Semantic roles & 50–950 ramp

primary
#DC5FB8
secondary
#B4E3C2
accent
#CC4D1A
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#160D13
muted
#847E82

Preview Lab

Preview with #DC5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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