#D97CB3#D97CB3

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

Color values

HEX#D97CB3
RGBrgb(217, 124, 179)
HSLhsl(325, 55%, 67%)
HSVhsv(325, 43%, 85%)
CMYKcmyk(0%, 42.9%, 17.5%, 14.9%)
CIE-LABlab(63.69, 43.17, -13.30)
CIE-LCHlch(63.69, 45.17, 342.88°)
OKLaboklab(70.42% 0.128 -0.0351)
OKLCHoklch(70.42% 0.133 344.7)
XYZxyz(43.9602, 32.4247, 46.5823)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CB3 #7CD9A2
analogous
#D17CD9 #D97CB3 #D97C85
triadic
#D97CB3 #B3D97C #7CB3D9
tetradic
#D97CB3 #D9D17C #7CD9A2 #7C85D9
square
#D97CB3 #D9D17C #7CD9A2 #7C85D9
split-complementary
#D97CB3 #85D97C #7CD9D1
monochromatic
#A93178 #CB4D97 #D97CB3 #E7ABCF #F5DBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97CB3#FFFFFF#000000##000000
##D97CB31.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)
#8391B5
Deuteranopia (green-blind)
#9BA0B1
Tritanopia (blue-blind)
#E47B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97cb3;
/* rgb */ color: rgb(217, 124, 179);
/* oklch */ color: oklch(70.4% 0.133 344.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4c9',
    500: '#d97cb3',
    950: '#000000',
  },
}
SCSS
$custom: #d97cb3;
$custom-light: #e6a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cb3",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 324.516,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70415,
    "c": 0.1327,
    "h": 344.7
  },
  "luminance": 0.32422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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