#CA797D#CA797D

#CA797D is a light, moderate red. Relative luminance 0.277; OKLCH L 66.4% C 0.101 H 17.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CA797D
RGBrgb(202, 121, 125)
HSLhsl(357, 43%, 63%)
HSVhsv(357, 40%, 79%)
CMYKcmyk(0%, 40.1%, 38.1%, 20.8%)
CIE-LABlab(59.63, 32.04, 11.44)
CIE-LCHlch(59.63, 34.02, 19.65°)
OKLaboklab(66.43% 0.097 0.0297)
OKLCHoklch(66.43% 0.101 17)
XYZxyz(34.8978, 27.7148, 22.9096)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA797D #79CAC6
analogous
#CA79A5 #CA797D #CA9D79
triadic
#CA797D #7DCA79 #797DCA
tetradic
#CA797D #A5CA79 #79CAC6 #9D79CA
square
#CA797D #A5CA79 #79CAC6 #9D79CA
split-complementary
#CA797D #79CA9D #79A5CA
monochromatic
#90393D #B94D52 #CA797D #DBA5A8 #EDD1D2

Accessibility & contrast

On white

3.21
#CA797D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CA797D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA797D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA797D#FFFFFF#000000##000000
##CA797D1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#9C967C
Tritanopia (blue-blind)
#D8707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca797d;
/* rgb */ color: rgb(202, 121, 125);
/* oklch */ color: oklch(66.4% 0.101 17.0);
Tailwind
colors: {
  custom: {
    50: '#dda1a2',
    500: '#ca797d',
    950: '#000000',
  },
}
SCSS
$custom: #ca797d;
$custom-light: #dda1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca797d",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.037,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.10144,
    "h": 17
  },
  "luminance": 0.27712
}

Semantic roles & 50–950 ramp

primary
#CA797D
secondary
#C1DEDC
accent
#B6B02F
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0F
muted
#837E7E

Preview Lab

Preview with #CA797D

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

Preview Lab → · Contrast checker → · Palette generator →

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