#DB42AF#DB42AF

#DB42AF is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.3% C 0.218 H 341.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#DB42AF
RGBrgb(219, 66, 175)
HSLhsl(317, 68%, 56%)
HSVhsv(317, 70%, 86%)
CMYKcmyk(0%, 69.9%, 20.1%, 14.1%)
CIE-LABlab(54.09, 69.14, -25.62)
CIE-LCHlch(54.09, 73.73, 339.67°)
OKLaboklab(63.3% 0.207 -0.0688)
OKLCHoklch(63.3% 0.218 341.6)
XYZxyz(38.9007, 22.0555, 42.7576)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42AF #42DB6E
analogous
#BA42DB #DB42AF #DB4262
triadic
#DB42AF #AFDB42 #42AFDB
tetradic
#DB42AF #DBBA42 #42DB6E #4262DB
square
#DB42AF #DBBA42 #42DB6E #4262DB
split-complementary
#DB42AF #62DB42 #42DBBA
monochromatic
#891A69 #BC2490 #DB42AF #E575C5 #EFA9DB

Accessibility & contrast

On white

3.88
#DB42AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#DB42AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42AF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42AF#FFFFFF#000000##000000
##DB42AF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#7E8AAB
Tritanopia (blue-blind)
#E84473
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db42af;
/* rgb */ color: rgb(219, 66, 175);
/* oklch */ color: oklch(63.3% 0.218 341.6);
Tailwind
colors: {
  custom: {
    50: '#ea83c7',
    500: '#db42af',
    950: '#000000',
  },
}
SCSS
$custom: #db42af;
$custom-light: #ea83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#db42af",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 317.255,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.633,
    "c": 0.21813,
    "h": 341.6
  },
  "luminance": 0.22052
}

Semantic roles & 50–950 ramp

primary
#DB42AF
secondary
#9DDCAF
accent
#EB6F3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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