#D792CC#D792CC

#D792CC is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.7% C 0.112 H 332.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D792CC
RGBrgb(215, 146, 204)
HSLhsl(310, 46%, 71%)
HSVhsv(310, 32%, 84%)
CMYKcmyk(0%, 32.1%, 5.1%, 15.7%)
CIE-LABlab(69.02, 35.02, -19.30)
CIE-LCHlch(69.02, 39.99, 331.14°)
OKLaboklab(74.67% 0.0994 -0.0519)
OKLCHoklch(74.67% 0.112 332.4)
XYZxyz(49.2017, 39.3665, 62.1218)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792CC #92D79D
analogous
#BF92D7 #D792CC #D792A9
triadic
#D792CC #CCD792 #92CCD7
tetradic
#D792CC #D7BF92 #92D79D #92A9D7
square
#D792CC #D7BF92 #92D79D #92A9D7
split-complementary
#D792CC #A9D792 #92D7BF
monochromatic
#AF409D #C765B7 #D792CC #E7BFE1 #F7E9F5

Accessibility & contrast

On white

2.37
#D792CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D792CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792CC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792CC#FFFFFF#000000##000000
##D792CC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CE
Deuteranopia (green-blind)
#A2ACCA
Tritanopia (blue-blind)
#DD96A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d792cc;
/* rgb */ color: rgb(215, 146, 204);
/* oklch */ color: oklch(74.7% 0.112 332.4);
Tailwind
colors: {
  custom: {
    50: '#e4b3db',
    500: '#d792cc',
    950: '#000000',
  },
}
SCSS
$custom: #d792cc;
$custom-light: #e4b3db;
$custom-dark: #000000;
JSON
{
  "hex": "#d792cc",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 204
  },
  "hsl": {
    "h": 309.565,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74674,
    "c": 0.1121,
    "h": 332.4
  },
  "luminance": 0.39364
}

Semantic roles & 50–950 ramp

primary
#D792CC
secondary
#D9ECDC
accent
#BA432C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D792CC

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

Preview Lab → · Contrast checker → · Palette generator →

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