#DB7FA2#DB7FA2

#DB7FA2 is a light, vivid pink. Relative luminance 0.328; OKLCH L 70.6% C 0.120 H 356.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#DB7FA2
RGBrgb(219, 127, 162)
HSLhsl(337, 56%, 68%)
HSVhsv(337, 42%, 86%)
CMYKcmyk(0%, 42%, 26%, 14.1%)
CIE-LABlab(64.04, 39.80, -3.10)
CIE-LCHlch(64.04, 39.92, 355.55°)
OKLaboklab(70.56% 0.1201 -0.0076)
OKLCHoklch(70.56% 0.12 356.4)
XYZxyz(43.3256, 32.8507, 38.2343)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FA2 #7FDBB8
analogous
#DB7FD0 #DB7FA2 #DB8A7F
triadic
#DB7FA2 #A2DB7F #7FA2DB
tetradic
#DB7FA2 #D0DB7F #7FDBB8 #8A7FDB
square
#DB7FA2 #D0DB7F #7FDBB8 #8A7FDB
split-complementary
#DB7FA2 #7FDB8A #7FD0DB
monochromatic
#AF3161 #CE4F7F #DB7FA2 #E8AFC5 #F6DFE7

Accessibility & contrast

On white

2.77
#DB7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#DB7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FA2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FA2#FFFFFF#000000##000000
##DB7FA21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#A2A1A0
Tritanopia (blue-blind)
#E87A8B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db7fa2;
/* rgb */ color: rgb(219, 127, 162);
/* oklch */ color: oklch(70.6% 0.120 356.4);
Tailwind
colors: {
  custom: {
    50: '#e8a6bd',
    500: '#db7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #db7fa2;
$custom-light: #e8a6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fa2",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 337.174,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.12029,
    "h": 356.4
  },
  "luminance": 0.32847
}

Semantic roles & 50–950 ramp

primary
#DB7FA2
secondary
#CDE9DE
accent
#C48622
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DB7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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