#DB42B5#DB42B5

#DB42B5 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.6% C 0.222 H 339.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#DB42B5
RGBrgb(219, 66, 181)
HSLhsl(315, 68%, 56%)
HSVhsv(315, 70%, 86%)
CMYKcmyk(0%, 69.9%, 17.4%, 14.1%)
CIE-LABlab(54.34, 69.95, -28.72)
CIE-LCHlch(54.34, 75.61, 337.68°)
OKLaboklab(63.57% 0.2079 -0.0776)
OKLCHoklch(63.57% 0.222 339.5)
XYZxyz(39.5031, 22.2964, 45.9303)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42B5 #42DB68
analogous
#B442DB #DB42B5 #DB4268
triadic
#DB42B5 #B5DB42 #42B5DB
tetradic
#DB42B5 #DBB442 #42DB68 #4268DB
square
#DB42B5 #DBB442 #42DB68 #4268DB
split-complementary
#DB42B5 #68DB42 #42DBB4
monochromatic
#891A6D #BC2496 #DB42B5 #E575C9 #EFA9DD

Accessibility & contrast

On white

3.85
#DB42B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#DB42B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42B5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42B5#FFFFFF#000000##000000
##DB42B51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#7C8BB1
Tritanopia (blue-blind)
#E74776
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db42b5;
/* rgb */ color: rgb(219, 66, 181);
/* oklch */ color: oklch(63.6% 0.222 339.5);
Tailwind
colors: {
  custom: {
    50: '#ea83cb',
    500: '#db42b5',
    950: '#000000',
  },
}
SCSS
$custom: #db42b5;
$custom-light: #ea83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#db42b5",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 314.902,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.22194,
    "h": 339.5
  },
  "luminance": 0.22293
}

Semantic roles & 50–950 ramp

primary
#DB42B5
secondary
#9DDCAC
accent
#EB683D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42B5

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

Preview Lab → · Contrast checker → · Palette generator →

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