#CD97BD#CD97BD

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

Color values

HEX#CD97BD
RGBrgb(205, 151, 189)
HSLhsl(318, 35%, 70%)
HSVhsv(318, 26%, 80%)
CMYKcmyk(0%, 26.3%, 7.8%, 19.6%)
CIE-LABlab(68.60, 26.29, -11.69)
CIE-LCHlch(68.60, 28.77, 336.02°)
OKLaboklab(73.95% 0.0756 -0.0311)
OKLCHoklch(73.95% 0.082 337.7)
XYZxyz(45.4283, 38.7882, 53.2281)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97BD #97CDA7
analogous
#C297CD #CD97BD #CD97A2
triadic
#CD97BD #BDCD97 #97BDCD
tetradic
#CD97BD #CDC297 #97CDA7 #97A2CD
square
#CD97BD #CDC297 #97CDA7 #97A2CD
split-complementary
#CD97BD #A2CD97 #97CDC2
monochromatic
#9E4C85 #B96EA3 #CD97BD #E1C0D7 #F5EAF1

Accessibility & contrast

On white

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

On black

8.76
#CD97BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97BD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97BD#FFFFFF#000000##000000
##CD97BD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd97bd;
/* rgb */ color: rgb(205, 151, 189);
/* oklch */ color: oklch(74.0% 0.082 337.7);
Tailwind
colors: {
  custom: {
    50: '#ddb6d0',
    500: '#cd97bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd97bd;
$custom-light: #ddb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97bd",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 317.778,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73952,
    "c": 0.08175,
    "h": 337.7
  },
  "luminance": 0.38786
}

Semantic roles & 50–950 ramp

primary
#CD97BD
secondary
#D8E8DD
accent
#AE5B38
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CD97BD

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

Preview Lab → · Contrast checker → · Palette generator →

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