#D795CA#D795CA

#D795CA is a light, moderate pink. Relative luminance 0.402; OKLCH L 75.1% C 0.105 H 333.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D795CA
RGBrgb(215, 149, 202)
HSLhsl(312, 45%, 71%)
HSVhsv(312, 31%, 84%)
CMYKcmyk(0%, 30.7%, 6%, 15.7%)
CIE-LABlab(69.62, 33.05, -17.28)
CIE-LCHlch(69.62, 37.30, 332.40°)
OKLaboklab(75.11% 0.0942 -0.0463)
OKLCHoklch(75.11% 0.105 333.8)
XYZxyz(49.4319, 40.2083, 61.0228)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795CA #95D7A2
analogous
#C395D7 #D795CA #D795A9
triadic
#D795CA #CAD795 #95CAD7
tetradic
#D795CA #D7C395 #95D7A2 #95A9D7
square
#D795CA #D7C395 #95D7A2 #95A9D7
split-complementary
#D795CA #A9D795 #95D7C3
monochromatic
#AF429A #C669B4 #D795CA #E8C1E0 #F7E9F4

Accessibility & contrast

On white

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

On black

9.04
#D795CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795CA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795CA#FFFFFF#000000##000000
##D795CA1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CC
Deuteranopia (green-blind)
#A4ADC8
Tritanopia (blue-blind)
#DD98A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d795ca;
/* rgb */ color: rgb(215, 149, 202);
/* oklch */ color: oklch(75.1% 0.105 333.8);
Tailwind
colors: {
  custom: {
    50: '#e4b5da',
    500: '#d795ca',
    950: '#000000',
  },
}
SCSS
$custom: #d795ca;
$custom-light: #e4b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#d795ca",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 311.818,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.10496,
    "h": 333.8
  },
  "luminance": 0.40206
}

Semantic roles & 50–950 ramp

primary
#D795CA
secondary
#DBECDF
accent
#B8492D
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #D795CA

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

Preview Lab → · Contrast checker → · Palette generator →

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