#D97CB2#D97CB2

#D97CB2 is a light, vivid pink. Relative luminance 0.324; OKLCH L 70.4% C 0.132 H 345.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D97CB2
RGBrgb(217, 124, 178)
HSLhsl(325, 55%, 67%)
HSVhsv(325, 43%, 85%)
CMYKcmyk(0%, 42.9%, 18%, 14.9%)
CIE-LABlab(63.66, 43.02, -12.78)
CIE-LCHlch(63.66, 44.88, 343.45°)
OKLaboklab(70.38% 0.1277 -0.0337)
OKLCHoklch(70.38% 0.132 345.2)
XYZxyz(43.8595, 32.3844, 46.0516)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CB2 #7CD9A3
analogous
#D27CD9 #D97CB2 #D97C84
triadic
#D97CB2 #B2D97C #7CB2D9
tetradic
#D97CB2 #D9D27C #7CD9A3 #7C84D9
square
#D97CB2 #D9D27C #7CD9A3 #7C84D9
split-complementary
#D97CB2 #84D97C #7CD9D2
monochromatic
#A93177 #CB4D96 #D97CB2 #E7ABCE #F5DBEA

Accessibility & contrast

On white

2.81
#D97CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D97CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CB2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CB2#FFFFFF#000000##000000
##D97CB21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#9BA0B0
Tritanopia (blue-blind)
#E47B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97cb2;
/* rgb */ color: rgb(217, 124, 178);
/* oklch */ color: oklch(70.4% 0.132 345.2);
Tailwind
colors: {
  custom: {
    50: '#e6a4c9',
    500: '#d97cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d97cb2;
$custom-light: #e6a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cb2",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 325.161,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.13204,
    "h": 345.2
  },
  "luminance": 0.32381
}

Semantic roles & 50–950 ramp

primary
#D97CB2
secondary
#CAE7D6
accent
#C36623
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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