#CA798E#CA798E

#CA798E is a light, moderate pink. Relative luminance 0.282; OKLCH L 66.9% C 0.104 H 3.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CA798E
RGBrgb(202, 121, 142)
HSLhsl(344, 43%, 63%)
HSVhsv(344, 40%, 79%)
CMYKcmyk(0%, 40.1%, 29.7%, 20.8%)
CIE-LABlab(60.06, 34.19, 2.27)
CIE-LCHlch(60.06, 34.27, 3.79°)
OKLaboklab(66.89% 0.1035 0.0064)
OKLCHoklch(66.89% 0.104 3.5)
XYZxyz(36.0782, 28.1870, 29.1264)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA798E #79CAB5
analogous
#CA79B7 #CA798E #CA8C79
triadic
#CA798E #8ECA79 #798ECA
tetradic
#CA798E #B7CA79 #79CAB5 #8C79CA
square
#CA798E #B7CA79 #79CAB5 #8C79CA
split-complementary
#CA798E #79CA8C #79B7CA
monochromatic
#90394F #B94D69 #CA798E #DBA5B3 #EDD1D8

Accessibility & contrast

On white

3.16
#CA798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CA798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA798E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA798E#FFFFFF#000000##000000
##CA798E1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85888F
Deuteranopia (green-blind)
#99968C
Tritanopia (blue-blind)
#D77380
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca798e;
/* rgb */ color: rgb(202, 121, 142);
/* oklch */ color: oklch(66.9% 0.104 3.5);
Tailwind
colors: {
  custom: {
    50: '#dca1af',
    500: '#ca798e',
    950: '#000000',
  },
}
SCSS
$custom: #ca798e;
$custom-light: #dca1af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca798e",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 344.444,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66892,
    "c": 0.10373,
    "h": 3.5
  },
  "luminance": 0.28184
}

Semantic roles & 50–950 ramp

primary
#CA798E
secondary
#C1DED6
accent
#B6932F
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CA798E

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

Preview Lab → · Contrast checker → · Palette generator →

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