#CA7F8A#CA7F8A

#CA7F8A is a light, moderate red. Relative luminance 0.296; OKLCH L 67.8% C 0.094 H 10.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CA7F8A
RGBrgb(202, 127, 138)
HSLhsl(351, 41%, 65%)
HSVhsv(351, 37%, 79%)
CMYKcmyk(0%, 37.1%, 31.7%, 20.8%)
CIE-LABlab(61.28, 30.43, 6.33)
CIE-LCHlch(61.28, 31.08, 11.76°)
OKLaboklab(67.79% 0.0923 0.0168)
OKLCHoklch(67.79% 0.094 10.3)
XYZxyz(36.5352, 29.5729, 27.8237)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7F8A #7FCABF
analogous
#CA7FB0 #CA7F8A #CA9A7F
triadic
#CA7F8A #8ACA7F #7F8ACA
tetradic
#CA7F8A #B0CA7F #7FCABF #9A7FCA
square
#CA7F8A #B0CA7F #7FCABF #9A7FCA
split-complementary
#CA7F8A #7FCA9A #7FB0CA
monochromatic
#923C49 #B85462 #CA7F8A #DCAAB2 #EED6D9

Accessibility & contrast

On white

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

On black

6.91
#CA7F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7F8A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7F8A#FFFFFF#000000##000000
##CA7F8A1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8B8A
Deuteranopia (green-blind)
#9E9989
Tritanopia (blue-blind)
#D77883
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca7f8a;
/* rgb */ color: rgb(202, 127, 138);
/* oklch */ color: oklch(67.8% 0.094 10.3);
Tailwind
colors: {
  custom: {
    50: '#dca5ac',
    500: '#ca7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ca7f8a;
$custom-light: #dca5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7f8a",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 351.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67794,
    "c": 0.09379,
    "h": 10.3
  },
  "luminance": 0.2957
}

Semantic roles & 50–950 ramp

primary
#CA7F8A
secondary
#C5DFDC
accent
#B4A131
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CA7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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