#CA879E#CA879E

#CA879E is a light, moderate pink. Relative luminance 0.324; OKLCH L 69.8% C 0.087 H 357.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CA879E
RGBrgb(202, 135, 158)
HSLhsl(339, 39%, 66%)
HSVhsv(339, 33%, 79%)
CMYKcmyk(0%, 33.2%, 21.8%, 20.8%)
CIE-LABlab(63.64, 28.90, -1.66)
CIE-LCHlch(63.64, 28.95, 356.71°)
OKLaboklab(69.77% 0.0868 -0.004)
OKLCHoklch(69.77% 0.087 357.4)
XYZxyz(39.1933, 32.3554, 36.5220)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA879E #87CAB3
analogous
#CA87BF #CA879E #CA9187
triadic
#CA879E #9ECA87 #879ECA
tetradic
#CA879E #BFCA87 #87CAB3 #9187CA
square
#CA879E #BFCA87 #87CAB3 #9187CA
split-complementary
#CA879E #87CA91 #87BFCA
monochromatic
#95425E #B75D7C #CA879E #DDB1C0 #EFDCE3

Accessibility & contrast

On white

2.81
#CA879E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CA879E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA879E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA879E#FFFFFF#000000##000000
##CA879E1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F939F
Deuteranopia (green-blind)
#9F9F9C
Tritanopia (blue-blind)
#D4848F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca879e;
/* rgb */ color: rgb(202, 135, 158);
/* oklch */ color: oklch(69.8% 0.087 357.4);
Tailwind
colors: {
  custom: {
    50: '#dbaaba',
    500: '#ca879e',
    950: '#000000',
  },
}
SCSS
$custom: #ca879e;
$custom-light: #dbaaba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca879e",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 339.403,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.08686,
    "h": 357.4
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#CA879E
secondary
#CBE1DA
accent
#B28634
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151011
muted
#837F80

Preview Lab

Preview with #CA879E

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

Preview Lab → · Contrast checker → · Palette generator →

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