#DB31B4#DB31B4

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

Color values

HEX#DB31B4
RGBrgb(219, 49, 180)
HSLhsl(314, 70%, 53%)
HSVhsv(314, 78%, 86%)
CMYKcmyk(0%, 77.6%, 17.8%, 14.1%)
CIE-LABlab(52.46, 75.03, -31.06)
CIE-LCHlch(52.46, 81.20, 337.51°)
OKLaboklab(62.19% 0.2236 -0.0841)
OKLCHoklch(62.19% 0.239 339.4)
XYZxyz(38.5510, 20.5559, 45.1086)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB31B4 #31DB58
analogous
#AD31DB #DB31B4 #DB315F
triadic
#DB31B4 #B4DB31 #31B4DB
tetradic
#DB31B4 #DBAD31 #31DB58 #315FDB
square
#DB31B4 #DBAD31 #31DB58 #315FDB
split-complementary
#DB31B4 #5FDB31 #31DBAD
monochromatic
#7C1664 #B01F8F #DB31B4 #E465C7 #ED99DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB31B4#FFFFFF#000000##000000
##DB31B41.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)
#3D6CB7
Deuteranopia (green-blind)
#7687B0
Tritanopia (blue-blind)
#E83970
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db31b4;
/* rgb */ color: rgb(219, 49, 180);
/* oklch */ color: oklch(62.2% 0.239 339.4);
Tailwind
colors: {
  custom: {
    50: '#eb7ccb',
    500: '#db31b4',
    950: '#000000',
  },
}
SCSS
$custom: #db31b4;
$custom-light: #eb7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#db31b4",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 313.765,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.23887,
    "h": 339.4
  },
  "luminance": 0.20552
}

Semantic roles & 50–950 ramp

primary
#DB31B4
secondary
#8FD9A0
accent
#ED643B
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB31B4

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

Preview Lab → · Contrast checker → · Palette generator →

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