#DB5287#DB5287

#DB5287 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.4% C 0.178 H 359.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DB5287
RGBrgb(219, 82, 135)
HSLhsl(337, 66%, 59%)
HSVhsv(337, 63%, 86%)
CMYKcmyk(0%, 62.6%, 38.4%, 14.1%)
CIE-LABlab(54.92, 58.11, -0.85)
CIE-LCHlch(54.92, 58.12, 359.16°)
OKLaboklab(63.45% 0.1776 -0.0015)
OKLCHoklch(63.45% 0.178 359.5)
XYZxyz(36.6062, 22.8481, 25.3993)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5287 #52DBA6
analogous
#DB52CC #DB5287 #DB6252
triadic
#DB5287 #87DB52 #5287DB
tetradic
#DB5287 #CCDB52 #52DBA6 #6252DB
square
#DB5287 #CCDB52 #52DBA6 #6252DB
split-complementary
#DB5287 #52DB62 #52CCDB
monochromatic
#941F4C #C62966 #DB5287 #E685AA #F0B7CD

Accessibility & contrast

On white

3.77
#DB5287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DB5287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5287
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5287#FFFFFF#000000##000000
##DB52871.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#908D84
Tritanopia (blue-blind)
#EC4567
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db5287;
/* rgb */ color: rgb(219, 82, 135);
/* oklch */ color: oklch(63.4% 0.178 359.5);
Tailwind
colors: {
  custom: {
    50: '#eb8aa9',
    500: '#db5287',
    950: '#000000',
  },
}
SCSS
$custom: #db5287;
$custom-light: #eb8aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#db5287",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 336.788,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63449,
    "c": 0.17759,
    "h": 359.5
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#DB5287
secondary
#AADFCA
accent
#E9A73F
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DB5287

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

Preview Lab → · Contrast checker → · Palette generator →

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