#CA797F#CA797F

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

Color values

HEX#CA797F
RGBrgb(202, 121, 127)
HSLhsl(356, 43%, 63%)
HSVhsv(356, 40%, 79%)
CMYKcmyk(0%, 40.1%, 37.1%, 20.8%)
CIE-LABlab(59.68, 32.28, 10.36)
CIE-LCHlch(59.68, 33.90, 17.79°)
OKLaboklab(66.48% 0.0978 0.027)
OKLCHoklch(66.48% 0.101 15.4)
XYZxyz(35.0268, 27.7665, 23.5892)
Luminance0.2776 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA797F #79CAC4
analogous
#CA79A7 #CA797F #CA9B79
triadic
#CA797F #7FCA79 #797FCA
tetradic
#CA797F #A7CA79 #79CAC4 #9B79CA
square
#CA797F #A7CA79 #79CAC4 #9B79CA
split-complementary
#CA797F #79CA9B #79A7CA
monochromatic
#90393F #B94D55 #CA797F #DBA5A9 #EDD1D3

Accessibility & contrast

On white

3.20
#CA797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA797F#FFFFFF#000000##000000
##CA797F1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#9C967E
Tritanopia (blue-blind)
#D8707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca797f;
/* rgb */ color: rgb(202, 121, 127);
/* oklch */ color: oklch(66.5% 0.101 15.4);
Tailwind
colors: {
  custom: {
    50: '#dca1a4',
    500: '#ca797f',
    950: '#000000',
  },
}
SCSS
$custom: #ca797f;
$custom-light: #dca1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca797f",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 355.556,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66477,
    "c": 0.10145,
    "h": 15.4
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

primary
#CA797F
secondary
#C1DEDC
accent
#B6AC2F
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CA797F

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

Preview Lab → · Contrast checker → · Palette generator →

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