#DB7FC2#DB7FC2

#DB7FC2 is a light, vivid pink. Relative luminance 0.341; OKLCH L 71.7% C 0.140 H 337.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#DB7FC2
RGBrgb(219, 127, 194)
HSLhsl(316, 56%, 68%)
HSVhsv(316, 42%, 86%)
CMYKcmyk(0%, 42%, 11.4%, 14.1%)
CIE-LABlab(65.07, 44.65, -19.66)
CIE-LCHlch(65.07, 48.79, 336.23°)
OKLaboklab(71.68% 0.1299 -0.0527)
OKLCHoklch(71.68% 0.14 337.9)
XYZxyz(46.5405, 34.1367, 55.1661)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FC2 #7FDB98
analogous
#C67FDB #DB7FC2 #DB7F94
triadic
#DB7FC2 #C2DB7F #7FC2DB
tetradic
#DB7FC2 #DBC67F #7FDB98 #7F94DB
square
#DB7FC2 #DBC67F #7FDB98 #7F94DB
split-complementary
#DB7FC2 #94DB7F #7FDBC6
monochromatic
#AF318C #CE4FAB #DB7FC2 #E8AFD9 #F6DFF0

Accessibility & contrast

On white

2.68
#DB7FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#DB7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FC2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FC2#FFFFFF#000000##000000
##DB7FC21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#99A3BF
Tritanopia (blue-blind)
#E48298
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db7fc2;
/* rgb */ color: rgb(219, 127, 194);
/* oklch */ color: oklch(71.7% 0.140 337.9);
Tailwind
colors: {
  custom: {
    50: '#e8a6d4',
    500: '#db7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #db7fc2;
$custom-light: #e8a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fc2",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 316.304,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71676,
    "c": 0.14018,
    "h": 337.9
  },
  "luminance": 0.34134
}

Semantic roles & 50–950 ramp

primary
#DB7FC2
secondary
#CDE9D4
accent
#C44E22
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DB7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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