#DB7EC2#DB7EC2

#DB7EC2 is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.5% C 0.142 H 337.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#DB7EC2
RGBrgb(219, 126, 194)
HSLhsl(316, 56%, 68%)
HSVhsv(316, 42%, 86%)
CMYKcmyk(0%, 42.5%, 11.4%, 14.1%)
CIE-LABlab(64.87, 45.17, -19.97)
CIE-LCHlch(64.87, 49.39, 336.14°)
OKLaboklab(71.52% 0.1314 -0.0535)
OKLCHoklch(71.52% 0.142 337.8)
XYZxyz(46.4120, 33.8796, 55.1233)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EC2 #7EDB97
analogous
#C67EDB #DB7EC2 #DB7E93
triadic
#DB7EC2 #C2DB7E #7EC2DB
tetradic
#DB7EC2 #DBC67E #7EDB97 #7E93DB
square
#DB7EC2 #DBC67E #7EDB97 #7E93DB
split-complementary
#DB7EC2 #93DB7E #7EDBC6
monochromatic
#AE318C #CE4EAB #DB7EC2 #E8AED9 #F6DEEF

Accessibility & contrast

On white

2.70
#DB7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#DB7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EC2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EC2#FFFFFF#000000##000000
##DB7EC21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#99A3BF
Tritanopia (blue-blind)
#E48197
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db7ec2;
/* rgb */ color: rgb(219, 126, 194);
/* oklch */ color: oklch(71.5% 0.142 337.8);
Tailwind
colors: {
  custom: {
    50: '#e8a5d4',
    500: '#db7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #db7ec2;
$custom-light: #e8a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ec2",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 316.129,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71523,
    "c": 0.1419,
    "h": 337.8
  },
  "luminance": 0.33877
}

Semantic roles & 50–950 ramp

primary
#DB7EC2
secondary
#CCE9D4
accent
#C44D22
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DB7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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