#CD97B5#CD97B5

#CD97B5 is a light, moderate pink. Relative luminance 0.384; OKLCH L 73.7% C 0.076 H 344.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CD97B5
RGBrgb(205, 151, 181)
HSLhsl(327, 35%, 70%)
HSVhsv(327, 26%, 80%)
CMYKcmyk(0%, 26.3%, 11.7%, 19.6%)
CIE-LABlab(68.35, 24.91, -7.60)
CIE-LCHlch(68.35, 26.04, 343.03°)
OKLaboklab(73.68% 0.0729 -0.02)
OKLCHoklch(73.68% 0.076 344.7)
XYZxyz(44.5838, 38.4504, 48.7803)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97B5 #97CDAF
analogous
#CA97CD #CD97B5 #CD979A
triadic
#CD97B5 #B5CD97 #97B5CD
tetradic
#CD97B5 #CDCA97 #97CDAF #979ACD
square
#CD97B5 #CDCA97 #97CDAF #979ACD
split-complementary
#CD97B5 #9ACD97 #97CDCA
monochromatic
#9E4C79 #B96E98 #CD97B5 #E1C0D2 #F5EAF0

Accessibility & contrast

On white

2.42
#CD97B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CD97B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97B5
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97B5#FFFFFF#000000##000000
##CD97B51.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA2B6
Deuteranopia (green-blind)
#A7AAB4
Tritanopia (blue-blind)
#D497A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd97b5;
/* rgb */ color: rgb(205, 151, 181);
/* oklch */ color: oklch(73.7% 0.076 344.7);
Tailwind
colors: {
  custom: {
    50: '#ddb6cb',
    500: '#cd97b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd97b5;
$custom-light: #ddb6cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97b5",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 181
  },
  "hsl": {
    "h": 326.667,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.07558,
    "h": 344.7
  },
  "luminance": 0.38449
}

Semantic roles & 50–950 ramp

primary
#CD97B5
secondary
#D8E8DF
accent
#AE6C38
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CD97B5

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

Preview Lab → · Contrast checker → · Palette generator →

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