#D792CF#D792CF

#D792CF is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.8% C 0.115 H 330.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D792CF
RGBrgb(215, 146, 207)
HSLhsl(307, 46%, 71%)
HSVhsv(307, 32%, 84%)
CMYKcmyk(0%, 32.1%, 3.7%, 15.7%)
CIE-LABlab(69.12, 35.55, -20.81)
CIE-LCHlch(69.12, 41.19, 329.67°)
OKLaboklab(74.79% 0.1002 -0.0561)
OKLCHoklch(74.79% 0.115 330.8)
XYZxyz(49.5649, 39.5119, 64.0351)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792CF #92D79A
analogous
#BC92D7 #D792CF #D792AC
triadic
#D792CF #CFD792 #92CFD7
tetradic
#D792CF #D7BC92 #92D79A #92ACD7
square
#D792CF #D7BC92 #92D79A #92ACD7
split-complementary
#D792CF #ACD792 #92D7BC
monochromatic
#AF40A2 #C765BB #D792CF #E7BFE3 #F7E9F5

Accessibility & contrast

On white

2.36
#D792CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D792CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792CF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792CF#FFFFFF#000000##000000
##D792CF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A3D1
Deuteranopia (green-blind)
#A1ACCD
Tritanopia (blue-blind)
#DD96A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d792cf;
/* rgb */ color: rgb(215, 146, 207);
/* oklch */ color: oklch(74.8% 0.115 330.8);
Tailwind
colors: {
  custom: {
    50: '#e4b3dd',
    500: '#d792cf',
    950: '#000000',
  },
}
SCSS
$custom: #d792cf;
$custom-light: #e4b3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d792cf",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 207
  },
  "hsl": {
    "h": 306.957,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.11485,
    "h": 330.8
  },
  "luminance": 0.3951
}

Semantic roles & 50–950 ramp

primary
#D792CF
secondary
#D9ECDB
accent
#BA3C2C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D792CF

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

Preview Lab → · Contrast checker → · Palette generator →

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