#D798BE#D798BE

#D798BE is a light, moderate pink. Relative luminance 0.406; OKLCH L 75.2% C 0.090 H 342.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#D798BE
RGBrgb(215, 152, 190)
HSLhsl(324, 44%, 72%)
HSVhsv(324, 29%, 84%)
CMYKcmyk(0%, 29.3%, 11.6%, 15.7%)
CIE-LABlab(69.91, 29.37, -10.18)
CIE-LCHlch(69.91, 31.08, 340.89°)
OKLaboklab(75.21% 0.0858 -0.0268)
OKLCHoklch(75.21% 0.09 342.6)
XYZxyz(48.5467, 40.6234, 53.9892)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D798BE #98D7B1
analogous
#D198D7 #D798BE #D7989F
triadic
#D798BE #BED798 #98BED7
tetradic
#D798BE #D7D198 #98D7B1 #989FD7
square
#D798BE #D7D198 #98D7B1 #989FD7
split-complementary
#D798BE #9FD798 #98D7D1
monochromatic
#B04485 #C66CA2 #D798BE #E8C4DA #F6E9F1

Accessibility & contrast

On white

2.30
#D798BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#D798BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D798BE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D798BE#FFFFFF#000000##000000
##D798BE1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA5BF
Deuteranopia (green-blind)
#AAAEBC
Tritanopia (blue-blind)
#DF98A5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d798be;
/* rgb */ color: rgb(215, 152, 190);
/* oklch */ color: oklch(75.2% 0.090 342.6);
Tailwind
colors: {
  custom: {
    50: '#e4b7d1',
    500: '#d798be',
    950: '#000000',
  },
}
SCSS
$custom: #d798be;
$custom-light: #e4b7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d798be",
  "rgb": {
    "r": 215,
    "g": 152,
    "b": 190
  },
  "hsl": {
    "h": 323.81,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75206,
    "c": 0.08986,
    "h": 342.6
  },
  "luminance": 0.40621
}

Semantic roles & 50–950 ramp

primary
#D798BE
secondary
#DEEDE4
accent
#B7652E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D798BE

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

Preview Lab → · Contrast checker → · Palette generator →

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