#DB31B6#DB31B6

#DB31B6 is a light, highly saturated pink. Relative luminance 0.206; OKLCH L 62.3% C 0.240 H 338.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#DB31B6
RGBrgb(219, 49, 182)
HSLhsl(313, 70%, 53%)
HSVhsv(313, 78%, 86%)
CMYKcmyk(0%, 77.6%, 16.9%, 14.1%)
CIE-LABlab(52.55, 75.29, -32.09)
CIE-LCHlch(52.55, 81.84, 336.92°)
OKLaboklab(62.29% 0.2238 -0.087)
OKLCHoklch(62.29% 0.24 338.8)
XYZxyz(38.7562, 20.6379, 46.1893)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB31B6 #31DB56
analogous
#AB31DB #DB31B6 #DB3161
triadic
#DB31B6 #B6DB31 #31B6DB
tetradic
#DB31B6 #DBAB31 #31DB56 #3161DB
square
#DB31B6 #DBAB31 #31DB56 #3161DB
split-complementary
#DB31B6 #61DB31 #31DBAB
monochromatic
#7C1666 #B01F90 #DB31B6 #E465C8 #ED99DB

Accessibility & contrast

On white

4.10
#DB31B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#DB31B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB31B6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB31B6#FFFFFF#000000##000000
##DB31B61.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DB9
Deuteranopia (green-blind)
#7687B2
Tritanopia (blue-blind)
#E83A72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db31b6;
/* rgb */ color: rgb(219, 49, 182);
/* oklch */ color: oklch(62.3% 0.240 338.8);
Tailwind
colors: {
  custom: {
    50: '#eb7ccc',
    500: '#db31b6',
    950: '#000000',
  },
}
SCSS
$custom: #db31b6;
$custom-light: #eb7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#db31b6",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 313.059,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.24012,
    "h": 338.8
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#DB31B6
secondary
#8FD99F
accent
#ED623B
background
#FFF8FC
surface
#FEEFF9
border
#D6CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB31B6

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

Preview Lab → · Contrast checker → · Palette generator →

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