#DB7FB2#DB7FB2

#DB7FB2 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.1% C 0.129 H 346.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#DB7FB2
RGBrgb(219, 127, 178)
HSLhsl(327, 56%, 68%)
HSVhsv(327, 42%, 86%)
CMYKcmyk(0%, 42%, 18.7%, 14.1%)
CIE-LABlab(64.53, 42.13, -11.45)
CIE-LCHlch(64.53, 43.66, 344.79°)
OKLaboklab(71.09% 0.1253 -0.0301)
OKLCHoklch(71.09% 0.129 346.5)
XYZxyz(44.8394, 33.4562, 46.2068)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FB2 #7FDBA8
analogous
#D67FDB #DB7FB2 #DB7F84
triadic
#DB7FB2 #B2DB7F #7FB2DB
tetradic
#DB7FB2 #DBD67F #7FDBA8 #7F84DB
square
#DB7FB2 #DBD67F #7FDBA8 #7F84DB
split-complementary
#DB7FB2 #84DB7F #7FDBD6
monochromatic
#AF3177 #CE4F95 #DB7FB2 #E8AFCF #F6DFEB

Accessibility & contrast

On white

2.73
#DB7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#DB7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FB2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FB2#FFFFFF#000000##000000
##DB7FB21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#9EA2B0
Tritanopia (blue-blind)
#E67E92
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db7fb2;
/* rgb */ color: rgb(219, 127, 178);
/* oklch */ color: oklch(71.1% 0.129 346.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6c9',
    500: '#db7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #db7fb2;
$custom-light: #e8a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fb2",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 326.739,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71089,
    "c": 0.12884,
    "h": 346.5
  },
  "luminance": 0.33453
}

Semantic roles & 50–950 ramp

primary
#DB7FB2
secondary
#CDE9D9
accent
#C46A22
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #DB7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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