#DB8ECA#DB8ECA

#DB8ECA is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.4% C 0.121 H 335.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#DB8ECA
RGBrgb(219, 142, 202)
HSLhsl(313, 52%, 71%)
HSVhsv(313, 35%, 86%)
CMYKcmyk(0%, 35.2%, 7.8%, 14.1%)
CIE-LABlab(68.51, 38.12, -18.91)
CIE-LCHlch(68.51, 42.55, 333.62°)
OKLaboklab(74.37% 0.1094 -0.0507)
OKLCHoklch(74.37% 0.121 335.1)
XYZxyz(49.5467, 38.6727, 60.7204)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8ECA #8EDB9F
analogous
#C58EDB #DB8ECA #DB8EA3
triadic
#DB8ECA #CADB8E #8ECADB
tetradic
#DB8ECA #DBC58E #8EDB9F #8EA3DB
square
#DB8ECA #DBC58E #8EDB9F #8EA3DB
split-complementary
#DB8ECA #A3DB8E #8EDBC5
monochromatic
#B53A9A #CC60B4 #DB8ECA #EABCE0 #F8E8F4

Accessibility & contrast

On white

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

On black

8.73
#DB8ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8ECA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8ECA#FFFFFF#000000##000000
##DB8ECA1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#A1ABC8
Tritanopia (blue-blind)
#E291A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db8eca;
/* rgb */ color: rgb(219, 142, 202);
/* oklch */ color: oklch(74.4% 0.121 335.1);
Tailwind
colors: {
  custom: {
    50: '#e7b0da',
    500: '#db8eca',
    950: '#000000',
  },
}
SCSS
$custom: #db8eca;
$custom-light: #e7b0da;
$custom-dark: #000000;
JSON
{
  "hex": "#db8eca",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 313.247,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.12059,
    "h": 335.1
  },
  "luminance": 0.3867
}

Semantic roles & 50–950 ramp

primary
#DB8ECA
secondary
#D8EDDD
accent
#BF4826
background
#FEFAFD
surface
#FDF5FA
border
#D5CFD3
text
#161014
muted
#847F83

Preview Lab

Preview with #DB8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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