#CA798F#CA798F

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

Color values

HEX#CA798F
RGBrgb(202, 121, 143)
HSLhsl(344, 43%, 63%)
HSVhsv(344, 40%, 79%)
CMYKcmyk(0%, 40.1%, 29.2%, 20.8%)
CIE-LABlab(60.08, 34.33, 1.73)
CIE-LCHlch(60.08, 34.37, 2.89°)
OKLaboklab(66.92% 0.1039 0.005)
OKLCHoklch(66.92% 0.104 2.7)
XYZxyz(36.1536, 28.2172, 29.5236)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA798F #79CAB4
analogous
#CA79B7 #CA798F #CA8B79
triadic
#CA798F #8FCA79 #798FCA
tetradic
#CA798F #B7CA79 #79CAB4 #8B79CA
square
#CA798F #B7CA79 #79CAB4 #8B79CA
split-complementary
#CA798F #79CA8B #79B7CA
monochromatic
#903950 #B94D6A #CA798F #DBA5B4 #EDD1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA798F#FFFFFF#000000##000000
##CA798F1.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)
#858890
Deuteranopia (green-blind)
#99968D
Tritanopia (blue-blind)
#D77381
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca798f;
/* rgb */ color: rgb(202, 121, 143);
/* oklch */ color: oklch(66.9% 0.104 2.7);
Tailwind
colors: {
  custom: {
    50: '#dca1af',
    500: '#ca798f',
    950: '#000000',
  },
}
SCSS
$custom: #ca798f;
$custom-light: #dca1af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca798f",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 343.704,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66922,
    "c": 0.10401,
    "h": 2.7
  },
  "luminance": 0.28214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA798F

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

Preview Lab → · Contrast checker → · Palette generator →

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