#CA798D#CA798D

#CA798D is a light, moderate red. Relative luminance 0.282; OKLCH L 66.9% C 0.103 H 4.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CA798D
RGBrgb(202, 121, 141)
HSLhsl(345, 43%, 63%)
HSVhsv(345, 40%, 79%)
CMYKcmyk(0%, 40.1%, 30.2%, 20.8%)
CIE-LABlab(60.03, 34.06, 2.80)
CIE-LCHlch(60.03, 34.17, 4.71°)
OKLaboklab(66.86% 0.1032 0.0078)
OKLCHoklch(66.86% 0.103 4.3)
XYZxyz(36.0034, 28.1571, 28.7327)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA798D #79CAB6
analogous
#CA79B5 #CA798D #CA8D79
triadic
#CA798D #8DCA79 #798DCA
tetradic
#CA798D #B5CA79 #79CAB6 #8D79CA
square
#CA798D #B5CA79 #79CAB6 #8D79CA
split-complementary
#CA798D #79CA8D #79B5CA
monochromatic
#90394E #B94D68 #CA798D #DBA5B2 #EDD1D8

Accessibility & contrast

On white

3.17
#CA798D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CA798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA798D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA798D#FFFFFF#000000##000000
##CA798D1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888E
Deuteranopia (green-blind)
#99968B
Tritanopia (blue-blind)
#D77380
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca798d;
/* rgb */ color: rgb(202, 121, 141);
/* oklch */ color: oklch(66.9% 0.103 4.3);
Tailwind
colors: {
  custom: {
    50: '#dca1ae',
    500: '#ca798d',
    950: '#000000',
  },
}
SCSS
$custom: #ca798d;
$custom-light: #dca1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca798d",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 345.185,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66863,
    "c": 0.10344,
    "h": 4.3
  },
  "luminance": 0.28154
}

Semantic roles & 50–950 ramp

primary
#CA798D
secondary
#C1DED7
accent
#B6952F
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CA798D

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

Preview Lab → · Contrast checker → · Palette generator →

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