#CA7F97#CA7F97

#CA7F97 is a light, moderate pink. Relative luminance 0.300; OKLCH L 68.2% C 0.097 H 359.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CA7F97
RGBrgb(202, 127, 151)
HSLhsl(341, 41%, 65%)
HSVhsv(341, 37%, 79%)
CMYKcmyk(0%, 37.1%, 25.2%, 20.8%)
CIE-LABlab(61.63, 32.22, -0.61)
CIE-LCHlch(61.63, 32.22, 358.92°)
OKLaboklab(68.17% 0.0971 -0.0011)
OKLCHoklch(68.17% 0.097 359.3)
XYZxyz(37.5333, 29.9722, 33.0805)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7F97 #7FCAB2
analogous
#CA7FBD #CA7F97 #CA8D7F
triadic
#CA7F97 #97CA7F #7F97CA
tetradic
#CA7F97 #BDCA7F #7FCAB2 #8D7FCA
square
#CA7F97 #BDCA7F #7FCAB2 #8D7FCA
split-complementary
#CA7F97 #7FCA8D #7FBDCA
monochromatic
#923C58 #B85474 #CA7F97 #DCAABA #EED6DD

Accessibility & contrast

On white

3.00
#CA7F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CA7F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7F97
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7F97#FFFFFF#000000##000000
##CA7F971.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#898D98
Deuteranopia (green-blind)
#9B9A95
Tritanopia (blue-blind)
#D67B87
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7f97;
/* rgb */ color: rgb(202, 127, 151);
/* oklch */ color: oklch(68.2% 0.097 359.3);
Tailwind
colors: {
  custom: {
    50: '#dca5b5',
    500: '#ca7f97',
    950: '#000000',
  },
}
SCSS
$custom: #ca7f97;
$custom-light: #dca5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7f97",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 340.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68173,
    "c": 0.09714,
    "h": 359.3
  },
  "luminance": 0.2997
}

Semantic roles & 50–950 ramp

primary
#CA7F97
secondary
#C5DFD7
accent
#B48A31
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CA7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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