#CA879F#CA879F

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

Color values

HEX#CA879F
RGBrgb(202, 135, 159)
HSLhsl(339, 39%, 66%)
HSVhsv(339, 33%, 79%)
CMYKcmyk(0%, 33.2%, 21.3%, 20.8%)
CIE-LABlab(63.66, 29.05, -2.18)
CIE-LCHlch(63.66, 29.13, 355.70°)
OKLaboklab(69.8% 0.0871 -0.0054)
OKLCHoklch(69.8% 0.087 356.5)
XYZxyz(39.2797, 32.3900, 36.9771)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA879F #87CAB2
analogous
#CA87C0 #CA879F #CA9087
triadic
#CA879F #9FCA87 #879FCA
tetradic
#CA879F #C0CA87 #87CAB2 #9087CA
square
#CA879F #C0CA87 #87CAB2 #9087CA
split-complementary
#CA879F #87CA90 #87C0CA
monochromatic
#954260 #B75D7D #CA879F #DDB1C1 #EFDCE3

Accessibility & contrast

On white

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

On black

7.48
#CA879F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA879F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA879F#FFFFFF#000000##000000
##CA879F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca879f;
/* rgb */ color: rgb(202, 135, 159);
/* oklch */ color: oklch(69.8% 0.087 356.5);
Tailwind
colors: {
  custom: {
    50: '#dbaabb',
    500: '#ca879f',
    950: '#000000',
  },
}
SCSS
$custom: #ca879f;
$custom-light: #dbaabb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca879f",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 338.507,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.0873,
    "h": 356.5
  },
  "luminance": 0.32388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA879F

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

Preview Lab → · Contrast checker → · Palette generator →

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