#CA817C#CA817C

#CA817C is a light, moderate red. Relative luminance 0.297; OKLCH L 67.8% C 0.091 H 24.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CA817C
RGBrgb(202, 129, 124)
HSLhsl(4, 42%, 64%)
HSVhsv(4, 39%, 79%)
CMYKcmyk(0%, 36.1%, 38.6%, 20.8%)
CIE-LABlab(61.41, 27.60, 14.50)
CIE-LCHlch(61.41, 31.17, 27.72°)
OKLaboklab(67.78% 0.0835 0.0372)
OKLCHoklch(67.78% 0.091 24)
XYZxyz(35.8470, 29.7151, 22.9124)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA817C #7CC5CA
analogous
#CA7C9E #CA817C #CAA87C
triadic
#CA817C #7CCA81 #817CCA
tetradic
#CA817C #9ECA7C #7CC5CA #A87CCA
square
#CA817C #9ECA7C #7CC5CA #A87CCA
split-complementary
#CA817C #7CCAA8 #7C9ECA
monochromatic
#91403B #B85750 #CA817C #DCABA8 #EDD5D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA817C#FFFFFF#000000##000000
##CA817C1.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)
#908C7B
Deuteranopia (green-blind)
#A29A7B
Tritanopia (blue-blind)
#D87880
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca817c;
/* rgb */ color: rgb(202, 129, 124);
/* oklch */ color: oklch(67.8% 0.091 24.0);
Tailwind
colors: {
  custom: {
    50: '#dca6a1',
    500: '#ca817c',
    950: '#000000',
  },
}
SCSS
$custom: #ca817c;
$custom-light: #dca6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca817c",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 3.846,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.0914,
    "h": 24
  },
  "luminance": 0.29712
}

Semantic roles & 50–950 ramp

primary
#CA817C
secondary
#C3DDDF
accent
#ADB530
background
#FDFAF9
surface
#FBF4F2
border
#D4CECC
text
#150F0F
muted
#837F7E

Preview Lab

Preview with #CA817C

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

Preview Lab → · Contrast checker → · Palette generator →

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