#CD97B2#CD97B2

#CD97B2 is a light, moderate pink. Relative luminance 0.383; OKLCH L 73.6% C 0.074 H 347.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CD97B2
RGBrgb(205, 151, 178)
HSLhsl(330, 35%, 70%)
HSVhsv(330, 26%, 80%)
CMYKcmyk(0%, 26.3%, 13.2%, 19.6%)
CIE-LABlab(68.26, 24.41, -6.06)
CIE-LCHlch(68.26, 25.15, 346.06°)
OKLaboklab(73.58% 0.0719 -0.0158)
OKLCHoklch(73.58% 0.074 347.6)
XYZxyz(44.2792, 38.3286, 47.1766)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97B2 #97CDB2
analogous
#CD97CD #CD97B2 #CD9797
triadic
#CD97B2 #B2CD97 #97B2CD
tetradic
#CD97B2 #CDCD97 #97CDB2 #9797CD
square
#CD97B2 #CDCD97 #97CDB2 #9797CD
split-complementary
#CD97B2 #97CD97 #97CDCD
monochromatic
#9E4C75 #B96E93 #CD97B2 #E1C0D1 #F5EAEF

Accessibility & contrast

On white

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

On black

8.67
#CD97B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97B2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97B2#FFFFFF#000000##000000
##CD97B21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#A8AAB1
Tritanopia (blue-blind)
#D596A0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd97b2;
/* rgb */ color: rgb(205, 151, 178);
/* oklch */ color: oklch(73.6% 0.074 347.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6c9',
    500: '#cd97b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd97b2;
$custom-light: #ddb6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97b2",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 330,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73584,
    "c": 0.07357,
    "h": 347.6
  },
  "luminance": 0.38327
}

Semantic roles & 50–950 ramp

primary
#CD97B2
secondary
#D8E8E0
accent
#AE7338
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CD97B2

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

Preview Lab → · Contrast checker → · Palette generator →

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