#DB7EA2#DB7EA2

#DB7EA2 is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.4% C 0.122 H 356.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#DB7EA2
RGBrgb(219, 126, 162)
HSLhsl(337, 56%, 68%)
HSVhsv(337, 42%, 86%)
CMYKcmyk(0%, 42.5%, 26%, 14.1%)
CIE-LABlab(63.83, 40.33, -3.41)
CIE-LCHlch(63.83, 40.47, 355.17°)
OKLaboklab(70.4% 0.1216 -0.0084)
OKLCHoklch(70.4% 0.122 356)
XYZxyz(43.1971, 32.5937, 38.1915)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EA2 #7EDBB7
analogous
#DB7ED1 #DB7EA2 #DB887E
triadic
#DB7EA2 #A2DB7E #7EA2DB
tetradic
#DB7EA2 #D1DB7E #7EDBB7 #887EDB
square
#DB7EA2 #D1DB7E #7EDBB7 #887EDB
split-complementary
#DB7EA2 #7EDB88 #7ED1DB
monochromatic
#AE3161 #CE4E80 #DB7EA2 #E8AEC4 #F6DEE7

Accessibility & contrast

On white

2.79
#DB7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#DB7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EA2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EA2#FFFFFF#000000##000000
##DB7EA21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A90A3
Deuteranopia (green-blind)
#A1A1A0
Tritanopia (blue-blind)
#E8798B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db7ea2;
/* rgb */ color: rgb(219, 126, 162);
/* oklch */ color: oklch(70.4% 0.122 356.0);
Tailwind
colors: {
  custom: {
    50: '#e8a5bd',
    500: '#db7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #db7ea2;
$custom-light: #e8a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ea2",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 336.774,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70399,
    "c": 0.12191,
    "h": 356
  },
  "luminance": 0.3259
}

Semantic roles & 50–950 ramp

primary
#DB7EA2
secondary
#CCE9DE
accent
#C48522
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DB7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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