#DB7EC7#DB7EC7

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

Color values

HEX#DB7EC7
RGBrgb(219, 126, 199)
HSLhsl(313, 56%, 68%)
HSVhsv(313, 42%, 86%)
CMYKcmyk(0%, 42.5%, 9.1%, 14.1%)
CIE-LABlab(65.05, 45.99, -22.51)
CIE-LCHlch(65.05, 51.21, 333.92°)
OKLaboklab(71.72% 0.1327 -0.0606)
OKLCHoklch(71.72% 0.146 335.5)
XYZxyz(46.9830, 34.1080, 58.1306)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EC7 #7EDB92
analogous
#C07EDB #DB7EC7 #DB7E99
triadic
#DB7EC7 #C7DB7E #7EC7DB
tetradic
#DB7EC7 #DBC07E #7EDB92 #7E99DB
square
#DB7EC7 #DBC07E #7EDB92 #7E99DB
split-complementary
#DB7EC7 #99DB7E #7EDBC0
monochromatic
#AE3193 #CE4EB2 #DB7EC7 #E8AEDC #F6DEF1

Accessibility & contrast

On white

2.69
#DB7EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#DB7EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EC7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EC7#FFFFFF#000000##000000
##DB7EC71.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95CA
Deuteranopia (green-blind)
#97A3C4
Tritanopia (blue-blind)
#E3829A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db7ec7;
/* rgb */ color: rgb(219, 126, 199);
/* oklch */ color: oklch(71.7% 0.146 335.5);
Tailwind
colors: {
  custom: {
    50: '#e8a5d8',
    500: '#db7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #db7ec7;
$custom-light: #e8a5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ec7",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 312.903,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71719,
    "c": 0.1459,
    "h": 335.5
  },
  "luminance": 0.34105
}

Semantic roles & 50–950 ramp

primary
#DB7EC7
secondary
#CCE9D2
accent
#C44422
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DB7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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