#CA7F87#CA7F87

#CA7F87 is a light, moderate red. Relative luminance 0.295; OKLCH L 67.7% C 0.093 H 12.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CA7F87
RGBrgb(202, 127, 135)
HSLhsl(354, 41%, 65%)
HSVhsv(354, 37%, 79%)
CMYKcmyk(0%, 37.1%, 33.2%, 20.8%)
CIE-LABlab(61.21, 30.04, 7.94)
CIE-LCHlch(61.21, 31.07, 14.81°)
OKLaboklab(67.71% 0.0911 0.0209)
OKLCHoklch(67.71% 0.093 12.9)
XYZxyz(36.3210, 29.4873, 26.6956)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7F87 #7FCAC2
analogous
#CA7FAD #CA7F87 #CA9D7F
triadic
#CA7F87 #87CA7F #7F87CA
tetradic
#CA7F87 #ADCA7F #7FCAC2 #9D7FCA
square
#CA7F87 #ADCA7F #7FCAC2 #9D7FCA
split-complementary
#CA7F87 #7FCA9D #7FADCA
monochromatic
#923C46 #B8545E #CA7F87 #DCAAB0 #EED6D8

Accessibility & contrast

On white

3.04
#CA7F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CA7F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7F87
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7F87#FFFFFF#000000##000000
##CA7F871.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8B87
Deuteranopia (green-blind)
#9F9986
Tritanopia (blue-blind)
#D77882
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca7f87;
/* rgb */ color: rgb(202, 127, 135);
/* oklch */ color: oklch(67.7% 0.093 12.9);
Tailwind
colors: {
  custom: {
    50: '#dca5a9',
    500: '#ca7f87',
    950: '#000000',
  },
}
SCSS
$custom: #ca7f87;
$custom-light: #dca5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7f87",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 353.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67713,
    "c": 0.09348,
    "h": 12.9
  },
  "luminance": 0.29485
}

Semantic roles & 50–950 ramp

primary
#CA7F87
secondary
#C5DFDD
accent
#B4A631
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CA7F87

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

Preview Lab → · Contrast checker → · Palette generator →

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