#CD97AB#CD97AB

#CD97AB is a light, moderate pink. Relative luminance 0.381; OKLCH L 73.4% C 0.070 H 354.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CD97AB
RGBrgb(205, 151, 171)
HSLhsl(338, 35%, 70%)
HSVhsv(338, 26%, 80%)
CMYKcmyk(0%, 26.3%, 16.6%, 19.6%)
CIE-LABlab(68.06, 23.27, -2.45)
CIE-LCHlch(68.06, 23.39, 354.00°)
OKLaboklab(73.36% 0.0693 -0.0061)
OKLCHoklch(73.36% 0.07 354.9)
XYZxyz(43.5943, 38.0546, 43.5692)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97AB #97CDB9
analogous
#CD97C6 #CD97AB #CD9E97
triadic
#CD97AB #ABCD97 #97ABCD
tetradic
#CD97AB #C6CD97 #97CDB9 #9E97CD
square
#CD97AB #C6CD97 #97CDB9 #9E97CD
split-complementary
#CD97AB #97CD9E #97C6CD
monochromatic
#9E4C6A #B96E8A #CD97AB #E1C0CC #F5EAEE

Accessibility & contrast

On white

2.44
#CD97AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CD97AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97AB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97AB#FFFFFF#000000##000000
##CD97AB1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA0AC
Deuteranopia (green-blind)
#A9A9AA
Tritanopia (blue-blind)
#D6959E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd97ab;
/* rgb */ color: rgb(205, 151, 171);
/* oklch */ color: oklch(73.4% 0.070 354.9);
Tailwind
colors: {
  custom: {
    50: '#ddb6c4',
    500: '#cd97ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd97ab;
$custom-light: #ddb6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97ab",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 337.778,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73362,
    "c": 0.06961,
    "h": 354.9
  },
  "luminance": 0.38053
}

Semantic roles & 50–950 ramp

primary
#CD97AB
secondary
#D8E8E2
accent
#AE8238
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151112
muted
#838081

Preview Lab

Preview with #CD97AB

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

Preview Lab → · Contrast checker → · Palette generator →

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