#DB4EC2#DB4EC2

#DB4EC2 is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.3% C 0.216 H 335.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#DB4EC2
RGBrgb(219, 78, 194)
HSLhsl(311, 66%, 58%)
HSVhsv(311, 64%, 86%)
CMYKcmyk(0%, 64.4%, 11.4%, 14.1%)
CIE-LABlab(56.49, 67.38, -32.88)
CIE-LCHlch(56.49, 74.98, 333.99°)
OKLaboklab(65.32% 0.1965 -0.0895)
OKLCHoklch(65.32% 0.216 335.5)
XYZxyz(41.6759, 24.4073, 53.5446)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4EC2 #4EDB67
analogous
#AD4EDB #DB4EC2 #DB4E7B
triadic
#DB4EC2 #C2DB4E #4EC2DB
tetradic
#DB4EC2 #DBAD4E #4EDB67 #4E7BDB
square
#DB4EC2 #DBAD4E #4EDB67 #4E7BDB
split-complementary
#DB4EC2 #7BDB4E #4EDBAD
monochromatic
#911E7D #C428A8 #DB4EC2 #E581D4 #F0B4E5

Accessibility & contrast

On white

3.57
#DB4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#DB4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4EC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4EC2#FFFFFF#000000##000000
##DB4EC21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#7C8FBE
Tritanopia (blue-blind)
#E55781
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db4ec2;
/* rgb */ color: rgb(219, 78, 194);
/* oklch */ color: oklch(65.3% 0.216 335.5);
Tailwind
colors: {
  custom: {
    50: '#ea89d4',
    500: '#db4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #db4ec2;
$custom-light: #ea89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#db4ec2",
  "rgb": {
    "r": 219,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 310.638,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.21594,
    "h": 335.5
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#DB4EC2
secondary
#A6DEB0
accent
#E95D3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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