#DB31B0#DB31B0

#DB31B0 is a light, highly saturated pink. Relative luminance 0.204; OKLCH L 62.0% C 0.236 H 340.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#DB31B0
RGBrgb(219, 49, 176)
HSLhsl(315, 70%, 53%)
HSVhsv(315, 78%, 86%)
CMYKcmyk(0%, 77.6%, 19.6%, 14.1%)
CIE-LABlab(52.28, 74.51, -29.00)
CIE-LCHlch(52.28, 79.95, 338.73°)
OKLaboklab(62.01% 0.2231 -0.0782)
OKLCHoklch(62.01% 0.236 340.7)
XYZxyz(38.1494, 20.3952, 42.9934)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB31B0 #31DB5C
analogous
#B131DB #DB31B0 #DB315B
triadic
#DB31B0 #B0DB31 #31B0DB
tetradic
#DB31B0 #DBB131 #31DB5C #315BDB
square
#DB31B0 #DBB131 #31DB5C #315BDB
split-complementary
#DB31B0 #5BDB31 #31DBB1
monochromatic
#7C1662 #B01F8B #DB31B0 #E465C4 #ED99D8

Accessibility & contrast

On white

4.14
#DB31B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#DB31B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB31B0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB31B0#FFFFFF#000000##000000
##DB31B01.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#E8366E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db31b0;
/* rgb */ color: rgb(219, 49, 176);
/* oklch */ color: oklch(62.0% 0.236 340.7);
Tailwind
colors: {
  custom: {
    50: '#eb7cc8',
    500: '#db31b0',
    950: '#000000',
  },
}
SCSS
$custom: #db31b0;
$custom-light: #eb7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#db31b0",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 315.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.23643,
    "h": 340.7
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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