#CA798B#CA798B

#CA798B is a light, moderate red. Relative luminance 0.281; OKLCH L 66.8% C 0.103 H 5.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CA798B
RGBrgb(202, 121, 139)
HSLhsl(347, 43%, 63%)
HSVhsv(347, 40%, 79%)
CMYKcmyk(0%, 40.1%, 31.2%, 20.8%)
CIE-LABlab(59.98, 33.79, 3.88)
CIE-LCHlch(59.98, 34.01, 6.55°)
OKLaboklab(66.81% 0.1024 0.0106)
OKLCHoklch(66.81% 0.103 5.9)
XYZxyz(35.8560, 28.0981, 27.9561)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA798B #79CAB8
analogous
#CA79B3 #CA798B #CA8F79
triadic
#CA798B #8BCA79 #798BCA
tetradic
#CA798B #B3CA79 #79CAB8 #8F79CA
square
#CA798B #B3CA79 #79CAB8 #8F79CA
split-complementary
#CA798B #79CA8F #79B3CA
monochromatic
#90394C #B94D65 #CA798B #DBA5B1 #EDD1D7

Accessibility & contrast

On white

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

On black

6.62
#CA798B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA798B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA798B#FFFFFF#000000##000000
##CA798B1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86878B
Deuteranopia (green-blind)
#9A9689
Tritanopia (blue-blind)
#D7727F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca798b;
/* rgb */ color: rgb(202, 121, 139);
/* oklch */ color: oklch(66.8% 0.103 5.9);
Tailwind
colors: {
  custom: {
    50: '#dca1ac',
    500: '#ca798b',
    950: '#000000',
  },
}
SCSS
$custom: #ca798b;
$custom-light: #dca1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca798b",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 346.667,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.10295,
    "h": 5.9
  },
  "luminance": 0.28095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA798B

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

Preview Lab → · Contrast checker → · Palette generator →

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