#DB42B2#DB42B2

#DB42B2 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.220 H 340.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#DB42B2
RGBrgb(219, 66, 178)
HSLhsl(316, 68%, 56%)
HSVhsv(316, 70%, 86%)
CMYKcmyk(0%, 69.9%, 18.7%, 14.1%)
CIE-LABlab(54.21, 69.54, -27.17)
CIE-LCHlch(54.21, 74.66, 338.66°)
OKLaboklab(63.43% 0.2075 -0.0732)
OKLCHoklch(63.43% 0.22 340.6)
XYZxyz(39.1986, 22.1746, 44.3266)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B2 #42DB6B
analogous
#B742DB #DB42B2 #DB4265
triadic
#DB42B2 #B2DB42 #42B2DB
tetradic
#DB42B2 #DBB742 #42DB6B #4265DB
square
#DB42B2 #DBB742 #42DB6B #4265DB
split-complementary
#DB42B2 #65DB42 #42DBB7
monochromatic
#891A6B #BC2493 #DB42B2 #E575C7 #EFA9DC

Accessibility & contrast

On white

3.86
#DB42B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#DB42B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B2#FFFFFF#000000##000000
##DB42B21.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7D8AAE
Tritanopia (blue-blind)
#E84675
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db42b2;
/* rgb */ color: rgb(219, 66, 178);
/* oklch */ color: oklch(63.4% 0.220 340.6);
Tailwind
colors: {
  custom: {
    50: '#ea83c9',
    500: '#db42b2',
    950: '#000000',
  },
}
SCSS
$custom: #db42b2;
$custom-light: #ea83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b2",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 316.078,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63433,
    "c": 0.22001,
    "h": 340.6
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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