#CD97B3#CD97B3

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

Color values

HEX#CD97B3
RGBrgb(205, 151, 179)
HSLhsl(329, 35%, 70%)
HSVhsv(329, 26%, 80%)
CMYKcmyk(0%, 26.3%, 12.7%, 19.6%)
CIE-LABlab(68.29, 24.57, -6.57)
CIE-LCHlch(68.29, 25.44, 345.02°)
OKLaboklab(73.62% 0.0722 -0.0172)
OKLCHoklch(73.62% 0.074 346.6)
XYZxyz(44.3800, 38.3689, 47.7073)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97B3 #97CDB1
analogous
#CC97CD #CD97B3 #CD9798
triadic
#CD97B3 #B3CD97 #97B3CD
tetradic
#CD97B3 #CDCC97 #97CDB1 #9798CD
square
#CD97B3 #CDCC97 #97CDB1 #9798CD
split-complementary
#CD97B3 #98CD97 #97CDCC
monochromatic
#9E4C76 #B96E95 #CD97B3 #E1C0D1 #F5EAEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD97B3#FFFFFF#000000##000000
##CD97B31.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)
#9BA1B4
Deuteranopia (green-blind)
#A7AAB2
Tritanopia (blue-blind)
#D596A0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd97b3;
/* rgb */ color: rgb(205, 151, 179);
/* oklch */ color: oklch(73.6% 0.074 346.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6c9',
    500: '#cd97b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd97b3;
$custom-light: #ddb6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97b3",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 179
  },
  "hsl": {
    "h": 328.889,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73616,
    "c": 0.07422,
    "h": 346.6
  },
  "luminance": 0.38367
}

Semantic roles & 50–950 ramp

primary
#CD97B3
secondary
#D8E8E0
accent
#AE7138
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CD97B3

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

Preview Lab → · Contrast checker → · Palette generator →

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