#DC31B0#DC31B0

#DC31B0 is a light, highly saturated pink. Relative luminance 0.205; OKLCH L 62.2% C 0.237 H 340.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#DC31B0
RGBrgb(220, 49, 176)
HSLhsl(315, 71%, 53%)
HSVhsv(315, 78%, 86%)
CMYKcmyk(0%, 77.7%, 20%, 13.7%)
CIE-LABlab(52.45, 74.73, -28.72)
CIE-LCHlch(52.45, 80.06, 338.98°)
OKLaboklab(62.16% 0.224 -0.0774)
OKLCHoklch(62.16% 0.237 340.9)
XYZxyz(38.4512, 20.5508, 43.0076)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC31B0 #31DC5D
analogous
#B331DC #DC31B0 #DC315A
triadic
#DC31B0 #B0DC31 #31B0DC
tetradic
#DC31B0 #DCB331 #31DC5D #315ADC
square
#DC31B0 #DCB331 #31DC5D #315ADC
split-complementary
#DC31B0 #5ADC31 #31DCB3
monochromatic
#7D1563 #B21E8C #DC31B0 #E565C4 #EE9AD8

Accessibility & contrast

On white

4.11
#DC31B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#DC31B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC31B0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC31B0#FFFFFF#000000##000000
##DC31B01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#E9366E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc31b0;
/* rgb */ color: rgb(220, 49, 176);
/* oklch */ color: oklch(62.2% 0.237 340.9);
Tailwind
colors: {
  custom: {
    50: '#eb7cc8',
    500: '#dc31b0',
    950: '#000000',
  },
}
SCSS
$custom: #dc31b0;
$custom-light: #eb7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc31b0",
  "rgb": {
    "r": 220,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 315.439,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.62164,
    "c": 0.237,
    "h": 340.9
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#DC31B0
secondary
#8FD9A2
accent
#EE683A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DC31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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