#CD97BF#CD97BF

#CD97BF is a light, moderate pink. Relative luminance 0.389; OKLCH L 74.0% C 0.083 H 336.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CD97BF
RGBrgb(205, 151, 191)
HSLhsl(316, 35%, 70%)
HSVhsv(316, 26%, 80%)
CMYKcmyk(0%, 26.3%, 6.8%, 19.6%)
CIE-LABlab(68.66, 26.64, -12.71)
CIE-LCHlch(68.66, 29.52, 334.49°)
OKLaboklab(74.02% 0.0763 -0.0339)
OKLCHoklch(74.02% 0.083 336.1)
XYZxyz(45.6469, 38.8756, 54.3794)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97BF #97CDA5
analogous
#C097CD #CD97BF #CD97A4
triadic
#CD97BF #BFCD97 #97BFCD
tetradic
#CD97BF #CDC097 #97CDA5 #97A4CD
square
#CD97BF #CDC097 #97CDA5 #97A4CD
split-complementary
#CD97BF #A4CD97 #97CDC0
monochromatic
#9E4C89 #B96EA6 #CD97BF #E1C0D8 #F5EAF2

Accessibility & contrast

On white

2.39
#CD97BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CD97BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97BF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97BF#FFFFFF#000000##000000
##CD97BF1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A3C1
Deuteranopia (green-blind)
#A4AABD
Tritanopia (blue-blind)
#D399A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd97bf;
/* rgb */ color: rgb(205, 151, 191);
/* oklch */ color: oklch(74.0% 0.083 336.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6d2',
    500: '#cd97bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd97bf;
$custom-light: #ddb6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97bf",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 315.556,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74022,
    "c": 0.08346,
    "h": 336.1
  },
  "luminance": 0.38874
}

Semantic roles & 50–950 ramp

primary
#CD97BF
secondary
#D8E8DC
accent
#AE5638
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CD97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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