#CA787B#CA787B

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

Color values

HEX#CA787B
RGBrgb(202, 120, 123)
HSLhsl(358, 44%, 63%)
HSVhsv(358, 41%, 79%)
CMYKcmyk(0%, 40.6%, 39.1%, 20.8%)
CIE-LABlab(59.36, 32.34, 12.22)
CIE-LCHlch(59.36, 34.57, 20.69°)
OKLaboklab(66.21% 0.0979 0.0316)
OKLCHoklch(66.21% 0.103 17.9)
XYZxyz(34.6504, 27.4225, 22.2032)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA787B #78CAC7
analogous
#CA78A4 #CA787B #CA9E78
triadic
#CA787B #7BCA78 #787BCA
tetradic
#CA787B #A4CA78 #78CAC7 #9E78CA
square
#CA787B #A4CA78 #78CAC7 #9E78CA
split-complementary
#CA787B #78CA9E #78A4CA
monochromatic
#8F383B #B94C50 #CA787B #DBA4A6 #EDD0D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA787B#FFFFFF#000000##000000
##CA787B1.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)
#88857B
Deuteranopia (green-blind)
#9C957A
Tritanopia (blue-blind)
#D96F79
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca787b;
/* rgb */ color: rgb(202, 120, 123);
/* oklch */ color: oklch(66.2% 0.103 17.9);
Tailwind
colors: {
  custom: {
    50: '#dda0a1',
    500: '#ca787b',
    950: '#000000',
  },
}
SCSS
$custom: #ca787b;
$custom-light: #dda0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca787b",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 357.805,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.10282,
    "h": 17.9
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA787B

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

Preview Lab → · Contrast checker → · Palette generator →

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