#DB40B1#DB40B1

#DB40B1 is a light, highly saturated pink. Relative luminance 0.219; OKLCH L 63.2% C 0.222 H 340.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#DB40B1
RGBrgb(219, 64, 177)
HSLhsl(316, 68%, 55%)
HSVhsv(316, 71%, 86%)
CMYKcmyk(0%, 70.8%, 19.2%, 14.1%)
CIE-LABlab(53.93, 70.09, -27.03)
CIE-LCHlch(53.93, 75.12, 338.91°)
OKLaboklab(63.21% 0.2094 -0.0728)
OKLCHoklch(63.21% 0.222 340.8)
XYZxyz(38.9837, 21.9050, 43.7615)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40B1 #40DB6A
analogous
#B740DB #DB40B1 #DB4063
triadic
#DB40B1 #B1DB40 #40B1DB
tetradic
#DB40B1 #DBB740 #40DB6A #4063DB
square
#DB40B1 #DBB740 #40DB6A #4063DB
split-complementary
#DB40B1 #63DB40 #40DBB7
monochromatic
#871969 #BB2392 #DB40B1 #E573C6 #EEA7DB

Accessibility & contrast

On white

3.90
#DB40B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#DB40B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40B1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40B1#FFFFFF#000000##000000
##DB40B11.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#7D8AAD
Tritanopia (blue-blind)
#E84473
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40b1;
/* rgb */ color: rgb(219, 64, 177);
/* oklch */ color: oklch(63.2% 0.222 340.8);
Tailwind
colors: {
  custom: {
    50: '#ea82c8',
    500: '#db40b1',
    950: '#000000',
  },
}
SCSS
$custom: #db40b1;
$custom-light: #ea82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#db40b1",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 316.258,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63212,
    "c": 0.22169,
    "h": 340.8
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#DB40B1
secondary
#9BDCAD
accent
#EB6C3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB40B1

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

Preview Lab → · Contrast checker → · Palette generator →

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