#CD97BA#CD97BA

#CD97BA is a light, moderate pink. Relative luminance 0.387; OKLCH L 73.8% C 0.079 H 340.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CD97BA
RGBrgb(205, 151, 186)
HSLhsl(321, 35%, 70%)
HSVhsv(321, 26%, 80%)
CMYKcmyk(0%, 26.3%, 9.3%, 19.6%)
CIE-LABlab(68.50, 25.76, -10.16)
CIE-LCHlch(68.50, 27.70, 338.47°)
OKLaboklab(73.85% 0.0746 -0.0269)
OKLCHoklch(73.85% 0.079 340.2)
XYZxyz(45.1060, 38.6593, 51.5309)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97BA #97CDAA
analogous
#C597CD #CD97BA #CD979F
triadic
#CD97BA #BACD97 #97BACD
tetradic
#CD97BA #CDC597 #97CDAA #979FCD
square
#CD97BA #CDC597 #97CDAA #979FCD
split-complementary
#CD97BA #9FCD97 #97CDC5
monochromatic
#9E4C81 #B96E9F #CD97BA #E1C0D5 #F5EAF1

Accessibility & contrast

On white

2.41
#CD97BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CD97BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97BA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97BA#FFFFFF#000000##000000
##CD97BA1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A2BB
Deuteranopia (green-blind)
#A5AAB8
Tritanopia (blue-blind)
#D498A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd97ba;
/* rgb */ color: rgb(205, 151, 186);
/* oklch */ color: oklch(73.8% 0.079 340.2);
Tailwind
colors: {
  custom: {
    50: '#ddb6ce',
    500: '#cd97ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd97ba;
$custom-light: #ddb6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97ba",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 321.111,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.07931,
    "h": 340.2
  },
  "luminance": 0.38658
}

Semantic roles & 50–950 ramp

primary
#CD97BA
secondary
#D8E8DE
accent
#AE6138
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151113
muted
#838082

Preview Lab

Preview with #CD97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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