#CA797C#CA797C

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

Color values

HEX#CA797C
RGBrgb(202, 121, 124)
HSLhsl(358, 43%, 63%)
HSVhsv(358, 40%, 79%)
CMYKcmyk(0%, 40.1%, 38.6%, 20.8%)
CIE-LABlab(59.61, 31.92, 11.98)
CIE-LCHlch(59.61, 34.10, 20.58°)
OKLaboklab(66.4% 0.0966 0.031)
OKLCHoklch(66.4% 0.101 17.8)
XYZxyz(34.8342, 27.6894, 22.5748)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA797C #79CAC7
analogous
#CA79A4 #CA797C #CA9E79
triadic
#CA797C #7CCA79 #797CCA
tetradic
#CA797C #A4CA79 #79CAC7 #9E79CA
square
#CA797C #A4CA79 #79CAC7 #9E79CA
split-complementary
#CA797C #79CA9E #79A4CA
monochromatic
#90393C #B94D51 #CA797C #DBA5A7 #EDD1D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA797C#FFFFFF#000000##000000
##CA797C1.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)
#89867C
Deuteranopia (green-blind)
#9D967B
Tritanopia (blue-blind)
#D9707A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca797c;
/* rgb */ color: rgb(202, 121, 124);
/* oklch */ color: oklch(66.4% 0.101 17.8);
Tailwind
colors: {
  custom: {
    50: '#dda1a1',
    500: '#ca797c',
    950: '#000000',
  },
}
SCSS
$custom: #ca797c;
$custom-light: #dda1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca797c",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 357.778,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.10147,
    "h": 17.8
  },
  "luminance": 0.27687
}

Semantic roles & 50–950 ramp

primary
#CA797C
secondary
#C1DEDD
accent
#B6B12F
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0F
muted
#837E7E

Preview Lab

Preview with #CA797C

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

Preview Lab → · Contrast checker → · Palette generator →

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