#CA787E#CA787E

#CA787E is a light, moderate red. Relative luminance 0.275; OKLCH L 66.3% C 0.103 H 15.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CA787E
RGBrgb(202, 120, 126)
HSLhsl(356, 44%, 63%)
HSVhsv(356, 41%, 79%)
CMYKcmyk(0%, 40.6%, 37.6%, 20.8%)
CIE-LABlab(59.43, 32.70, 10.59)
CIE-LCHlch(59.43, 34.37, 17.94°)
OKLaboklab(66.28% 0.099 0.0275)
OKLCHoklch(66.28% 0.103 15.5)
XYZxyz(34.8411, 27.4987, 23.2074)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA787E #78CAC4
analogous
#CA78A7 #CA787E #CA9B78
triadic
#CA787E #7ECA78 #787ECA
tetradic
#CA787E #A7CA78 #78CAC4 #9B78CA
square
#CA787E #A7CA78 #78CAC4 #9B78CA
split-complementary
#CA787E #78CA9B #78A7CA
monochromatic
#8F383F #B94C54 #CA787E #DBA4A8 #EDD0D2

Accessibility & contrast

On white

3.23
#CA787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CA787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA787E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA787E#FFFFFF#000000##000000
##CA787E1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857E
Deuteranopia (green-blind)
#9C957C
Tritanopia (blue-blind)
#D86F7A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca787e;
/* rgb */ color: rgb(202, 120, 126);
/* oklch */ color: oklch(66.3% 0.103 15.5);
Tailwind
colors: {
  custom: {
    50: '#dda0a3',
    500: '#ca787e',
    950: '#000000',
  },
}
SCSS
$custom: #ca787e;
$custom-light: #dda0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca787e",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 355.61,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.1028,
    "h": 15.5
  },
  "luminance": 0.27496
}

Semantic roles & 50–950 ramp

primary
#CA787E
secondary
#C0DEDB
accent
#B7AD2F
background
#FDF9FA
surface
#FBF2F3
border
#D4CCCD
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CA787E

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

Preview Lab → · Contrast checker → · Palette generator →

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