#CD97BE#CD97BE

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

Color values

HEX#CD97BE
RGBrgb(205, 151, 190)
HSLhsl(317, 35%, 70%)
HSVhsv(317, 26%, 80%)
CMYKcmyk(0%, 26.3%, 7.3%, 19.6%)
CIE-LABlab(68.63, 26.46, -12.20)
CIE-LCHlch(68.63, 29.14, 335.24°)
OKLaboklab(73.99% 0.076 -0.0325)
OKLCHoklch(73.99% 0.083 336.9)
XYZxyz(45.5372, 38.8317, 53.8018)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97BE #97CDA6
analogous
#C197CD #CD97BE #CD97A3
triadic
#CD97BE #BECD97 #97BECD
tetradic
#CD97BE #CDC197 #97CDA6 #97A3CD
square
#CD97BE #CDC197 #97CDA6 #97A3CD
split-complementary
#CD97BE #A3CD97 #97CDC1
monochromatic
#9E4C87 #B96EA4 #CD97BE #E1C0D8 #F5EAF2

Accessibility & contrast

On white

2.40
#CD97BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD97BE#FFFFFF#000000##000000
##CD97BE1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A3C0
Deuteranopia (green-blind)
#A4AABC
Tritanopia (blue-blind)
#D398A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd97be;
/* rgb */ color: rgb(205, 151, 190);
/* oklch */ color: oklch(74.0% 0.083 336.9);
Tailwind
colors: {
  custom: {
    50: '#ddb6d1',
    500: '#cd97be',
    950: '#000000',
  },
}
SCSS
$custom: #cd97be;
$custom-light: #ddb6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97be",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 190
  },
  "hsl": {
    "h": 316.667,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73987,
    "c": 0.0826,
    "h": 336.9
  },
  "luminance": 0.3883
}

Semantic roles & 50–950 ramp

primary
#CD97BE
secondary
#D8E8DD
accent
#AE5838
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CD97BE

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

Preview Lab → · Contrast checker → · Palette generator →

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