#CA7E97#CA7E97

#CA7E97 is a light, moderate pink. Relative luminance 0.297; OKLCH L 68.0% C 0.099 H 358.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CA7E97
RGBrgb(202, 126, 151)
HSLhsl(340, 42%, 64%)
HSVhsv(340, 38%, 79%)
CMYKcmyk(0%, 37.6%, 25.2%, 20.8%)
CIE-LABlab(61.41, 32.76, -0.93)
CIE-LCHlch(61.41, 32.77, 358.37°)
OKLaboklab(68% 0.0987 -0.002)
OKLCHoklch(68% 0.099 358.8)
XYZxyz(37.4048, 29.7152, 33.0376)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7E97 #7ECAB1
analogous
#CA7EBD #CA7E97 #CA8B7E
triadic
#CA7E97 #97CA7E #7E97CA
tetradic
#CA7E97 #BDCA7E #7ECAB1 #8B7ECA
square
#CA7E97 #BDCA7E #7ECAB1 #8B7ECA
split-complementary
#CA7E97 #7ECA8B #7EBDCA
monochromatic
#923C58 #B85374 #CA7E97 #DCA9BA #EED5DD

Accessibility & contrast

On white

3.02
#CA7E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CA7E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7E97
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7E97#FFFFFF#000000##000000
##CA7E971.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#888C98
Deuteranopia (green-blind)
#9B9995
Tritanopia (blue-blind)
#D67A87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca7e97;
/* rgb */ color: rgb(202, 126, 151);
/* oklch */ color: oklch(68.0% 0.099 358.8);
Tailwind
colors: {
  custom: {
    50: '#dca4b5',
    500: '#ca7e97',
    950: '#000000',
  },
}
SCSS
$custom: #ca7e97;
$custom-light: #dca4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7e97",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 340.263,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.09876,
    "h": 358.8
  },
  "luminance": 0.29713
}

Semantic roles & 50–950 ramp

primary
#CA7E97
secondary
#C5DFD6
accent
#B58931
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CA7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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