#DB40B2#DB40B2

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

Color values

HEX#DB40B2
RGBrgb(219, 64, 178)
HSLhsl(316, 68%, 55%)
HSVhsv(316, 71%, 86%)
CMYKcmyk(0%, 70.8%, 18.7%, 14.1%)
CIE-LABlab(53.97, 70.22, -27.55)
CIE-LCHlch(53.97, 75.43, 338.58°)
OKLaboklab(63.26% 0.2096 -0.0742)
OKLCHoklch(63.26% 0.222 340.5)
XYZxyz(39.0838, 21.9450, 44.2883)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40B2 #40DB69
analogous
#B640DB #DB40B2 #DB4064
triadic
#DB40B2 #B2DB40 #40B2DB
tetradic
#DB40B2 #DBB640 #40DB69 #4064DB
square
#DB40B2 #DBB640 #40DB69 #4064DB
split-complementary
#DB40B2 #64DB40 #40DBB6
monochromatic
#87196A #BB2393 #DB40B2 #E573C7 #EEA7DC

Accessibility & contrast

On white

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

On black

5.39
#DB40B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40B2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40B2#FFFFFF#000000##000000
##DB40B21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#E84474
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40b2;
/* rgb */ color: rgb(219, 64, 178);
/* oklch */ color: oklch(63.3% 0.222 340.5);
Tailwind
colors: {
  custom: {
    50: '#ea82c9',
    500: '#db40b2',
    950: '#000000',
  },
}
SCSS
$custom: #db40b2;
$custom-light: #ea82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db40b2",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 315.871,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63257,
    "c": 0.22232,
    "h": 340.5
  },
  "luminance": 0.21941
}

Semantic roles & 50–950 ramp

primary
#DB40B2
secondary
#9BDCAC
accent
#EB6B3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB40B2

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

Preview Lab → · Contrast checker → · Palette generator →

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