#DB4287#DB4287

#DB4287 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.8% C 0.198 H 357.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#DB4287
RGBrgb(219, 66, 135)
HSLhsl(333, 68%, 56%)
HSVhsv(333, 70%, 86%)
CMYKcmyk(0%, 69.9%, 38.4%, 14.1%)
CIE-LABlab(52.63, 64.38, -4.21)
CIE-LCHlch(52.63, 64.52, 356.26°)
OKLaboklab(61.76% 0.1974 -0.0102)
OKLCHoklch(61.76% 0.198 357)
XYZxyz(35.5372, 20.7101, 25.0430)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4287 #42DB96
analogous
#DB42D4 #DB4287 #DB4942
triadic
#DB4287 #87DB42 #4287DB
tetradic
#DB4287 #D4DB42 #42DB96 #4942DB
square
#DB4287 #D4DB42 #42DB96 #4942DB
split-complementary
#DB4287 #42DB49 #42D4DB
monochromatic
#891A4C #BC2468 #DB4287 #E575A8 #EFA9C8

Accessibility & contrast

On white

4.08
#DB4287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#DB4287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4287
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4287#FFFFFF#000000##000000
##DB42871.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#898883
Tritanopia (blue-blind)
#EC315F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4287;
/* rgb */ color: rgb(219, 66, 135);
/* oklch */ color: oklch(61.8% 0.198 357.0);
Tailwind
colors: {
  custom: {
    50: '#eb82a9',
    500: '#db4287',
    950: '#000000',
  },
}
SCSS
$custom: #db4287;
$custom-light: #eb82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#db4287",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 332.941,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.19766,
    "h": 357
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#DB4287
secondary
#9DDCC0
accent
#EB9C3D
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #DB4287

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

Preview Lab → · Contrast checker → · Palette generator →

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