#DB40B0#DB40B0

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

Color values

HEX#DB40B0
RGBrgb(219, 64, 176)
HSLhsl(317, 68%, 55%)
HSVhsv(317, 71%, 86%)
CMYKcmyk(0%, 70.8%, 19.6%, 14.1%)
CIE-LABlab(53.88, 69.95, -26.52)
CIE-LCHlch(53.88, 74.81, 339.24°)
OKLaboklab(63.17% 0.2092 -0.0713)
OKLCHoklch(63.17% 0.221 341.2)
XYZxyz(38.8844, 21.8653, 43.2385)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40B0 #40DB6B
analogous
#B840DB #DB40B0 #DB4062
triadic
#DB40B0 #B0DB40 #40B0DB
tetradic
#DB40B0 #DBB840 #40DB6B #4062DB
square
#DB40B0 #DBB840 #40DB6B #4062DB
split-complementary
#DB40B0 #62DB40 #40DBB8
monochromatic
#871969 #BB2391 #DB40B0 #E573C5 #EEA7DB

Accessibility & contrast

On white

3.91
#DB40B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#DB40B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40B0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40B0#FFFFFF#000000##000000
##DB40B01.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B3
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#E84373
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40b0;
/* rgb */ color: rgb(219, 64, 176);
/* oklch */ color: oklch(63.2% 0.221 341.2);
Tailwind
colors: {
  custom: {
    50: '#ea82c8',
    500: '#db40b0',
    950: '#000000',
  },
}
SCSS
$custom: #db40b0;
$custom-light: #ea82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#db40b0",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 316.645,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.22106,
    "h": 341.2
  },
  "luminance": 0.21861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB40B0

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

Preview Lab → · Contrast checker → · Palette generator →

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