#CA97B2#CA97B2

#CA97B2 is a light, moderate pink. Relative luminance 0.379; OKLCH L 73.3% C 0.071 H 345.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CA97B2
RGBrgb(202, 151, 178)
HSLhsl(328, 32%, 69%)
HSVhsv(328, 25%, 79%)
CMYKcmyk(0%, 25.2%, 11.9%, 20.8%)
CIE-LABlab(67.95, 23.34, -6.56)
CIE-LCHlch(67.95, 24.24, 344.31°)
OKLaboklab(73.27% 0.0684 -0.0172)
OKLCHoklch(73.27% 0.071 345.9)
XYZxyz(43.4594, 37.9058, 47.1382)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97B2 #97CAAF
analogous
#C997CA #CA97B2 #CA9799
triadic
#CA97B2 #B2CA97 #97B2CA
tetradic
#CA97B2 #CAC997 #97CAAF #9799CA
square
#CA97B2 #CAC997 #97CAAF #9799CA
split-complementary
#CA97B2 #99CA97 #97CAC9
monochromatic
#994E76 #B56E94 #CA97B2 #DFC0D0 #F3E8EE

Accessibility & contrast

On white

2.45
#CA97B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CA97B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97B2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97B2#FFFFFF#000000##000000
##CA97B21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA1B3
Deuteranopia (green-blind)
#A6A9B1
Tritanopia (blue-blind)
#D197A0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca97b2;
/* rgb */ color: rgb(202, 151, 178);
/* oklch */ color: oklch(73.3% 0.071 345.9);
Tailwind
colors: {
  custom: {
    50: '#dab6c9',
    500: '#ca97b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca97b2;
$custom-light: #dab6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97b2",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 328.235,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73274,
    "c": 0.07055,
    "h": 345.9
  },
  "luminance": 0.37904
}

Semantic roles & 50–950 ramp

primary
#CA97B2
secondary
#D7E6DE
accent
#AB6F3A
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082

Preview Lab

Preview with #CA97B2

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

Preview Lab → · Contrast checker → · Palette generator →

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