#DB7FAB#DB7FAB

#DB7FAB is a light, vivid pink. Relative luminance 0.332; OKLCH L 70.8% C 0.125 H 350.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#DB7FAB
RGBrgb(219, 127, 171)
HSLhsl(331, 56%, 68%)
HSVhsv(331, 42%, 86%)
CMYKcmyk(0%, 42%, 21.9%, 14.1%)
CIE-LABlab(64.31, 41.09, -7.82)
CIE-LCHlch(64.31, 41.82, 349.23°)
OKLaboklab(70.85% 0.1231 -0.0202)
OKLCHoklch(70.85% 0.125 350.7)
XYZxyz(44.1544, 33.1822, 42.5994)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FAB #7FDBAF
analogous
#DB7FD9 #DB7FAB #DB817F
triadic
#DB7FAB #ABDB7F #7FABDB
tetradic
#DB7FAB #D9DB7F #7FDBAF #817FDB
square
#DB7FAB #D9DB7F #7FDBAF #817FDB
split-complementary
#DB7FAB #7FDB81 #7FD9DB
monochromatic
#AF316D #CE4F8C #DB7FAB #E8AFCA #F6DFEA

Accessibility & contrast

On white

2.75
#DB7FAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#DB7FAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FAB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FAB#FFFFFF#000000##000000
##DB7FAB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AD
Deuteranopia (green-blind)
#A0A2A9
Tritanopia (blue-blind)
#E77C8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db7fab;
/* rgb */ color: rgb(219, 127, 171);
/* oklch */ color: oklch(70.8% 0.125 350.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6c4',
    500: '#db7fab',
    950: '#000000',
  },
}
SCSS
$custom: #db7fab;
$custom-light: #e8a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fab",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 331.304,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70849,
    "c": 0.12471,
    "h": 350.7
  },
  "luminance": 0.33179
}

Semantic roles & 50–950 ramp

primary
#DB7FAB
secondary
#CDE9DC
accent
#C47622
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F12
muted
#847F81

Preview Lab

Preview with #DB7FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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