#DB42C0#DB42C0

#DB42C0 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.229 H 335.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#DB42C0
RGBrgb(219, 66, 192)
HSLhsl(311, 68%, 56%)
HSVhsv(311, 70%, 86%)
CMYKcmyk(0%, 69.9%, 12.3%, 14.1%)
CIE-LABlab(54.83, 71.49, -34.32)
CIE-LCHlch(54.83, 79.30, 334.36°)
OKLaboklab(64.08% 0.2093 -0.0935)
OKLCHoklch(64.08% 0.229 335.9)
XYZxyz(40.6766, 22.7659, 52.1109)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42C0 #42DB5D
analogous
#A942DB #DB42C0 #DB4273
triadic
#DB42C0 #C0DB42 #42C0DB
tetradic
#DB42C0 #DBA942 #42DB5D #4273DB
square
#DB42C0 #DBA942 #42DB5D #4273DB
split-complementary
#DB42C0 #73DB42 #42DBA9
monochromatic
#891A75 #BC24A1 #DB42C0 #E575D1 #EFA9E2

Accessibility & contrast

On white

3.78
#DB42C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#DB42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42C0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42C0#FFFFFF#000000##000000
##DB42C01.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C4
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#E64C7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db42c0;
/* rgb */ color: rgb(219, 66, 192);
/* oklch */ color: oklch(64.1% 0.229 335.9);
Tailwind
colors: {
  custom: {
    50: '#ea83d3',
    500: '#db42c0',
    950: '#000000',
  },
}
SCSS
$custom: #db42c0;
$custom-light: #ea83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#db42c0",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 310.588,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.22926,
    "h": 335.9
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#DB42C0
secondary
#9DDCA8
accent
#EB5C3D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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