#D795CB#D795CB

#D795CB is a light, moderate pink. Relative luminance 0.403; OKLCH L 75.1% C 0.106 H 333.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D795CB
RGBrgb(215, 149, 203)
HSLhsl(311, 45%, 71%)
HSVhsv(311, 31%, 84%)
CMYKcmyk(0%, 30.7%, 5.6%, 15.7%)
CIE-LABlab(69.65, 33.23, -17.78)
CIE-LCHlch(69.65, 37.69, 331.85°)
OKLaboklab(75.15% 0.0945 -0.0477)
OKLCHoklch(75.15% 0.106 333.2)
XYZxyz(49.5507, 40.2558, 61.6484)
Luminance0.4025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795CB #95D7A1
analogous
#C295D7 #D795CB #D795AA
triadic
#D795CB #CBD795 #95CBD7
tetradic
#D795CB #D7C295 #95D7A1 #95AAD7
square
#D795CB #D7C295 #95D7A1 #95AAD7
split-complementary
#D795CB #AAD795 #95D7C2
monochromatic
#AF429C #C669B5 #D795CB #E8C1E1 #F7E9F4

Accessibility & contrast

On white

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

On black

9.05
#D795CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795CB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795CB#FFFFFF#000000##000000
##D795CB1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CD
Deuteranopia (green-blind)
#A4AEC9
Tritanopia (blue-blind)
#DD98A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d795cb;
/* rgb */ color: rgb(215, 149, 203);
/* oklch */ color: oklch(75.1% 0.106 333.2);
Tailwind
colors: {
  custom: {
    50: '#e4b5db',
    500: '#d795cb',
    950: '#000000',
  },
}
SCSS
$custom: #d795cb;
$custom-light: #e4b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d795cb",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 203
  },
  "hsl": {
    "h": 310.909,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75146,
    "c": 0.10585,
    "h": 333.2
  },
  "luminance": 0.40254
}

Semantic roles & 50–950 ramp

primary
#D795CB
secondary
#DBECDE
accent
#B8462D
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161115
muted
#848083

Preview Lab

Preview with #D795CB

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

Preview Lab → · Contrast checker → · Palette generator →

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