#CA787F#CA787F

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

Color values

HEX#CA787F
RGBrgb(202, 120, 127)
HSLhsl(355, 44%, 63%)
HSVhsv(355, 41%, 79%)
CMYKcmyk(0%, 40.6%, 37.1%, 20.8%)
CIE-LABlab(59.46, 32.82, 10.05)
CIE-LCHlch(59.46, 34.32, 17.02°)
OKLaboklab(66.31% 0.0994 0.0262)
OKLCHoklch(66.31% 0.103 14.8)
XYZxyz(34.9059, 27.5247, 23.5489)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA787F #78CAC3
analogous
#CA78A8 #CA787F #CA9A78
triadic
#CA787F #7FCA78 #787FCA
tetradic
#CA787F #A8CA78 #78CAC3 #9A78CA
square
#CA787F #A8CA78 #78CAC3 #9A78CA
split-complementary
#CA787F #78CA9A #78A8CA
monochromatic
#8F3840 #B94C55 #CA787F #DBA4A9 #EDD0D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA787F#FFFFFF#000000##000000
##CA787F1.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)
#87857F
Deuteranopia (green-blind)
#9C957D
Tritanopia (blue-blind)
#D86F7B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca787f;
/* rgb */ color: rgb(202, 120, 127);
/* oklch */ color: oklch(66.3% 0.103 14.8);
Tailwind
colors: {
  custom: {
    50: '#dca0a4',
    500: '#ca787f',
    950: '#000000',
  },
}
SCSS
$custom: #ca787f;
$custom-light: #dca0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca787f",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 354.878,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.10282,
    "h": 14.8
  },
  "luminance": 0.27522
}

Semantic roles & 50–950 ramp

primary
#CA787F
secondary
#C0DEDB
accent
#B7AB2F
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CA787F

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

Preview Lab → · Contrast checker → · Palette generator →

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