#CA798C#CA798C

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

Color values

HEX#CA798C
RGBrgb(202, 121, 140)
HSLhsl(346, 43%, 63%)
HSVhsv(346, 40%, 79%)
CMYKcmyk(0%, 40.1%, 30.7%, 20.8%)
CIE-LABlab(60.00, 33.92, 3.34)
CIE-LCHlch(60.00, 34.09, 5.62°)
OKLaboklab(66.83% 0.1028 0.0092)
OKLCHoklch(66.83% 0.103 5.1)
XYZxyz(35.9294, 28.1275, 28.3427)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA798C #79CAB7
analogous
#CA79B4 #CA798C #CA8E79
triadic
#CA798C #8CCA79 #798CCA
tetradic
#CA798C #B4CA79 #79CAB7 #8E79CA
square
#CA798C #B4CA79 #79CAB7 #8E79CA
split-complementary
#CA798C #79CA8E #79B4CA
monochromatic
#90394D #B94D66 #CA798C #DBA5B2 #EDD1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA798C#FFFFFF#000000##000000
##CA798C1.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)
#86878D
Deuteranopia (green-blind)
#9A968A
Tritanopia (blue-blind)
#D77380
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca798c;
/* rgb */ color: rgb(202, 121, 140);
/* oklch */ color: oklch(66.8% 0.103 5.1);
Tailwind
colors: {
  custom: {
    50: '#dca1ad',
    500: '#ca798c',
    950: '#000000',
  },
}
SCSS
$custom: #ca798c;
$custom-light: #dca1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca798c",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 345.926,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66834,
    "c": 0.10319,
    "h": 5.1
  },
  "luminance": 0.28125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA798C

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

Preview Lab → · Contrast checker → · Palette generator →

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