#CA787A#CA787A

#CA787A is a light, moderate red. Relative luminance 0.274; OKLCH L 66.2% C 0.103 H 18.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CA787A
RGBrgb(202, 120, 122)
HSLhsl(359, 44%, 63%)
HSVhsv(359, 41%, 79%)
CMYKcmyk(0%, 40.6%, 39.6%, 20.8%)
CIE-LABlab(59.34, 32.23, 12.76)
CIE-LCHlch(59.34, 34.66, 21.60°)
OKLaboklab(66.18% 0.0975 0.0329)
OKLCHoklch(66.18% 0.103 18.6)
XYZxyz(34.5881, 27.3976, 21.8752)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA787A #78CAC8
analogous
#CA78A3 #CA787A #CA9F78
triadic
#CA787A #7ACA78 #787ACA
tetradic
#CA787A #A3CA78 #78CAC8 #9F78CA
square
#CA787A #A3CA78 #78CAC8 #9F78CA
split-complementary
#CA787A #78CA9F #78A3CA
monochromatic
#8F383A #B94C4F #CA787A #DBA4A5 #EDD0D1

Accessibility & contrast

On white

3.24
#CA787A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CA787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA787A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA787A#FFFFFF#000000##000000
##CA787A1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857A
Deuteranopia (green-blind)
#9C9579
Tritanopia (blue-blind)
#D96E79
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca787a;
/* rgb */ color: rgb(202, 120, 122);
/* oklch */ color: oklch(66.2% 0.103 18.6);
Tailwind
colors: {
  custom: {
    50: '#dda0a0',
    500: '#ca787a',
    950: '#000000',
  },
}
SCSS
$custom: #ca787a;
$custom-light: #dda0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca787a",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 358.537,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.10286,
    "h": 18.6
  },
  "luminance": 0.27395
}

Semantic roles & 50–950 ramp

primary
#CA787A
secondary
#C0DEDD
accent
#B7B32F
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0E
muted
#837E7E

Preview Lab

Preview with #CA787A

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

Preview Lab → · Contrast checker → · Palette generator →

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