#DB8ECD#DB8ECD

#DB8ECD is a light, vivid pink. Relative luminance 0.388; OKLCH L 74.5% C 0.123 H 333.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#DB8ECD
RGBrgb(219, 142, 205)
HSLhsl(311, 52%, 71%)
HSVhsv(311, 35%, 86%)
CMYKcmyk(0%, 35.2%, 6.4%, 14.1%)
CIE-LABlab(68.62, 38.64, -20.42)
CIE-LCHlch(68.62, 43.70, 332.15°)
OKLaboklab(74.48% 0.1103 -0.0549)
OKLCHoklch(74.48% 0.123 333.5)
XYZxyz(49.9054, 38.8162, 62.6093)
Luminance0.3881 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8ECD #8EDB9C
analogous
#C28EDB #DB8ECD #DB8EA6
triadic
#DB8ECD #CDDB8E #8ECDDB
tetradic
#DB8ECD #DBC28E #8EDB9C #8EA6DB
square
#DB8ECD #DBC28E #8EDB9C #8EA6DB
split-complementary
#DB8ECD #A6DB8E #8EDBC2
monochromatic
#B53A9F #CC60B8 #DB8ECD #EABCE2 #F8E8F5

Accessibility & contrast

On white

2.40
#DB8ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#DB8ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8ECD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8ECD#FFFFFF#000000##000000
##DB8ECD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#A0ABCB
Tritanopia (blue-blind)
#E292A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db8ecd;
/* rgb */ color: rgb(219, 142, 205);
/* oklch */ color: oklch(74.5% 0.123 333.5);
Tailwind
colors: {
  custom: {
    50: '#e7b0dc',
    500: '#db8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #db8ecd;
$custom-light: #e7b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ecd",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 310.909,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74482,
    "c": 0.12318,
    "h": 333.5
  },
  "luminance": 0.38814
}

Semantic roles & 50–950 ramp

primary
#DB8ECD
secondary
#D8EDDC
accent
#BF4226
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161115
muted
#848083

Preview Lab

Preview with #DB8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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