#CA787C#CA787C

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

Color values

HEX#CA787C
RGBrgb(202, 120, 124)
HSLhsl(357, 44%, 63%)
HSVhsv(357, 41%, 79%)
CMYKcmyk(0%, 40.6%, 38.6%, 20.8%)
CIE-LABlab(59.39, 32.46, 11.67)
CIE-LCHlch(59.39, 34.50, 19.78°)
OKLaboklab(66.23% 0.0983 0.0302)
OKLCHoklch(66.23% 0.103 17.1)
XYZxyz(34.7133, 27.4476, 22.5345)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA787C #78CAC6
analogous
#CA78A5 #CA787C #CA9D78
triadic
#CA787C #7CCA78 #787CCA
tetradic
#CA787C #A5CA78 #78CAC6 #9D78CA
square
#CA787C #A5CA78 #78CAC6 #9D78CA
split-complementary
#CA787C #78CA9D #78A5CA
monochromatic
#8F383D #B94C51 #CA787C #DBA4A7 #EDD0D1

Accessibility & contrast

On white

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

On black

6.49
#CA787C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA787C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA787C#FFFFFF#000000##000000
##CA787C1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857C
Deuteranopia (green-blind)
#9C957B
Tritanopia (blue-blind)
#D96F7A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca787c;
/* rgb */ color: rgb(202, 120, 124);
/* oklch */ color: oklch(66.2% 0.103 17.1);
Tailwind
colors: {
  custom: {
    50: '#dda0a1',
    500: '#ca787c',
    950: '#000000',
  },
}
SCSS
$custom: #ca787c;
$custom-light: #dda0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca787c",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 357.073,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66232,
    "c": 0.10279,
    "h": 17.1
  },
  "luminance": 0.27445
}

Semantic roles & 50–950 ramp

primary
#CA787C
secondary
#C0DEDC
accent
#B7B02F
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0F
muted
#837E7E

Preview Lab

Preview with #CA787C

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

Preview Lab → · Contrast checker → · Palette generator →

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