#DB5281#DB5281

#DB5281 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.176 H 2.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#DB5281
RGBrgb(219, 82, 129)
HSLhsl(339, 66%, 59%)
HSVhsv(339, 63%, 86%)
CMYKcmyk(0%, 62.6%, 41.1%, 14.1%)
CIE-LABlab(54.75, 57.48, 2.46)
CIE-LCHlch(54.75, 57.53, 2.45°)
OKLaboklab(63.27% 0.1756 0.007)
OKLCHoklch(63.27% 0.176 2.3)
XYZxyz(36.1956, 22.6838, 23.2369)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5281 #52DBAC
analogous
#DB52C6 #DB5281 #DB6852
triadic
#DB5281 #81DB52 #5281DB
tetradic
#DB5281 #C6DB52 #52DBAC #6852DB
square
#DB5281 #C6DB52 #52DBAC #6852DB
split-complementary
#DB5281 #52DB68 #52C6DB
monochromatic
#941F47 #C6295F #DB5281 #E685A6 #F0B7CB

Accessibility & contrast

On white

3.79
#DB5281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#DB5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5281
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5281#FFFFFF#000000##000000
##DB52811.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7282
Deuteranopia (green-blind)
#918D7E
Tritanopia (blue-blind)
#ED4364
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db5281;
/* rgb */ color: rgb(219, 82, 129);
/* oklch */ color: oklch(63.3% 0.176 2.3);
Tailwind
colors: {
  custom: {
    50: '#eb8aa5',
    500: '#db5281',
    950: '#000000',
  },
}
SCSS
$custom: #db5281;
$custom-light: #eb8aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#db5281",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 339.416,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63266,
    "c": 0.17569,
    "h": 2.3
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#DB5281
secondary
#AADFCD
accent
#E9AE3F
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DB5281

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

Preview Lab → · Contrast checker → · Palette generator →

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