#D795CC#D795CC

#D795CC is a light, moderate pink. Relative luminance 0.403; OKLCH L 75.2% C 0.107 H 332.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D795CC
RGBrgb(215, 149, 204)
HSLhsl(310, 45%, 71%)
HSVhsv(310, 31%, 84%)
CMYKcmyk(0%, 30.7%, 5.1%, 15.7%)
CIE-LABlab(69.69, 33.41, -18.28)
CIE-LCHlch(69.69, 38.08, 331.31°)
OKLaboklab(75.18% 0.0948 -0.0491)
OKLCHoklch(75.18% 0.107 332.6)
XYZxyz(49.6702, 40.3036, 62.2780)
Luminance0.4030 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795CC #95D7A0
analogous
#C195D7 #D795CC #D795AB
triadic
#D795CC #CCD795 #95CCD7
tetradic
#D795CC #D7C195 #95D7A0 #95ABD7
square
#D795CC #D7C195 #95D7A0 #95ABD7
split-complementary
#D795CC #ABD795 #95D7C1
monochromatic
#AF429D #C669B7 #D795CC #E8C1E1 #F7E9F4

Accessibility & contrast

On white

2.32
#D795CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#D795CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795CC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795CC#FFFFFF#000000##000000
##D795CC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CE
Deuteranopia (green-blind)
#A4AECA
Tritanopia (blue-blind)
#DD98A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d795cc;
/* rgb */ color: rgb(215, 149, 204);
/* oklch */ color: oklch(75.2% 0.107 332.6);
Tailwind
colors: {
  custom: {
    50: '#e4b5db',
    500: '#d795cc',
    950: '#000000',
  },
}
SCSS
$custom: #d795cc;
$custom-light: #e4b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d795cc",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 204
  },
  "hsl": {
    "h": 310,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.10675,
    "h": 332.6
  },
  "luminance": 0.40302
}

Semantic roles & 50–950 ramp

primary
#D795CC
secondary
#DBECDE
accent
#B8442D
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D795CC

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

Preview Lab → · Contrast checker → · Palette generator →

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