#CD97C2#CD97C2

#CD97C2 is a light, moderate pink. Relative luminance 0.390; OKLCH L 74.1% C 0.086 H 333.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD97C2
RGBrgb(205, 151, 194)
HSLhsl(312, 35%, 70%)
HSVhsv(312, 26%, 80%)
CMYKcmyk(0%, 26.3%, 5.4%, 19.6%)
CIE-LABlab(68.76, 27.17, -14.24)
CIE-LCHlch(68.76, 30.68, 332.35°)
OKLaboklab(74.13% 0.0773 -0.038)
OKLCHoklch(74.13% 0.086 333.8)
XYZxyz(45.9804, 39.0090, 56.1359)
Luminance0.3901 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97C2 #97CDA2
analogous
#BD97CD #CD97C2 #CD97A7
triadic
#CD97C2 #C2CD97 #97C2CD
tetradic
#CD97C2 #CDBD97 #97CDA2 #97A7CD
square
#CD97C2 #CDBD97 #97CDA2 #97A7CD
split-complementary
#CD97C2 #A7CD97 #97CDBD
monochromatic
#9E4C8D #B96EAA #CD97C2 #E1C0DA #F5EAF2

Accessibility & contrast

On white

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

On black

8.80
#CD97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97C2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97C2#FFFFFF#000000##000000
##CD97C21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A3C4
Deuteranopia (green-blind)
#A3ABC0
Tritanopia (blue-blind)
#D299A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd97c2;
/* rgb */ color: rgb(205, 151, 194);
/* oklch */ color: oklch(74.1% 0.086 333.8);
Tailwind
colors: {
  custom: {
    50: '#ddb6d4',
    500: '#cd97c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd97c2;
$custom-light: #ddb6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97c2",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 312.222,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74128,
    "c": 0.08611,
    "h": 333.8
  },
  "luminance": 0.39007
}

Semantic roles & 50–950 ramp

primary
#CD97C2
secondary
#D8E8DB
accent
#AE5038
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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