#D795B2#D795B2

#D795B2 is a light, moderate pink. Relative luminance 0.392; OKLCH L 74.3% C 0.087 H 351.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D795B2
RGBrgb(215, 149, 178)
HSLhsl(334, 45%, 71%)
HSVhsv(334, 31%, 84%)
CMYKcmyk(0%, 30.7%, 17.2%, 15.7%)
CIE-LABlab(68.87, 29.05, -5.05)
CIE-LCHlch(68.87, 29.48, 350.14°)
OKLaboklab(74.29% 0.0864 -0.013)
OKLCHoklch(74.29% 0.087 351.4)
XYZxyz(46.8080, 39.1587, 47.2037)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795B2 #95D7BA
analogous
#D795D3 #D795B2 #D79995
triadic
#D795B2 #B2D795 #95B2D7
tetradic
#D795B2 #D3D795 #95D7BA #9995D7
square
#D795B2 #D3D795 #95D7BA #9995D7
split-complementary
#D795B2 #95D799 #95D3D7
monochromatic
#AF4272 #C66992 #D795B2 #E8C1D2 #F7E9EF

Accessibility & contrast

On white

2.38
#D795B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D795B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795B2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795B2#FFFFFF#000000##000000
##D795B21.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#ABACB0
Tritanopia (blue-blind)
#E1939F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d795b2;
/* rgb */ color: rgb(215, 149, 178);
/* oklch */ color: oklch(74.3% 0.087 351.4);
Tailwind
colors: {
  custom: {
    50: '#e4b5c9',
    500: '#d795b2',
    950: '#000000',
  },
}
SCSS
$custom: #d795b2;
$custom-light: #e4b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d795b2",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 178
  },
  "hsl": {
    "h": 333.636,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74287,
    "c": 0.08734,
    "h": 351.4
  },
  "luminance": 0.39156
}

Semantic roles & 50–950 ramp

primary
#D795B2
secondary
#DBECE5
accent
#B87B2D
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #D795B2

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

Preview Lab → · Contrast checker → · Palette generator →

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