#CA797E#CA797E

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

Color values

HEX#CA797E
RGBrgb(202, 121, 126)
HSLhsl(356, 43%, 63%)
HSVhsv(356, 40%, 79%)
CMYKcmyk(0%, 40.1%, 37.6%, 20.8%)
CIE-LABlab(59.65, 32.16, 10.90)
CIE-LCHlch(59.65, 33.96, 18.72°)
OKLaboklab(66.45% 0.0974 0.0283)
OKLCHoklch(66.45% 0.101 16.2)
XYZxyz(34.9620, 27.7405, 23.2477)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA797E #79CAC5
analogous
#CA79A6 #CA797E #CA9C79
triadic
#CA797E #7ECA79 #797ECA
tetradic
#CA797E #A6CA79 #79CAC5 #9C79CA
square
#CA797E #A6CA79 #79CAC5 #9C79CA
split-complementary
#CA797E #79CA9C #79A6CA
monochromatic
#90393E #B94D54 #CA797E #DBA5A8 #EDD1D2

Accessibility & contrast

On white

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

On black

6.55
#CA797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA797E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA797E#FFFFFF#000000##000000
##CA797E1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca797e;
/* rgb */ color: rgb(202, 121, 126);
/* oklch */ color: oklch(66.5% 0.101 16.2);
Tailwind
colors: {
  custom: {
    50: '#dca1a3',
    500: '#ca797e',
    950: '#000000',
  },
}
SCSS
$custom: #ca797e;
$custom-light: #dca1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca797e",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.296,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.10143,
    "h": 16.2
  },
  "luminance": 0.27738
}

Semantic roles & 50–950 ramp

primary
#CA797E
secondary
#C1DEDC
accent
#B6AE2F
background
#FDF9FA
surface
#FBF2F3
border
#D4CCCD
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CA797E

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

Preview Lab → · Contrast checker → · Palette generator →

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