#CA4F87#CA4F87

#CA4F87 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.166 H 354.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA4F87
RGBrgb(202, 79, 135)
HSLhsl(333, 54%, 55%)
HSVhsv(333, 61%, 79%)
CMYKcmyk(0%, 60.9%, 33.2%, 20.8%)
CIE-LABlab(51.73, 54.20, -5.86)
CIE-LCHlch(51.73, 54.51, 353.83°)
OKLaboklab(60.56% 0.1652 -0.0148)
OKLCHoklch(60.56% 0.166 354.9)
XYZxyz(31.5279, 19.9011, 25.0979)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F87 #4FCA92
analogous
#CA4FC5 #CA4F87 #CA544F
triadic
#CA4F87 #87CA4F #4F87CA
tetradic
#CA4F87 #C5CA4F #4FCA92 #544FCA
square
#CA4F87 #C5CA4F #4FCA92 #544FCA
split-complementary
#CA4F87 #4FCA54 #4FC5CA
monochromatic
#7A254B #A93369 #CA4F87 #D87EA7 #E6ADC7

Accessibility & contrast

On white

4.22
#CA4F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA4F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F87
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F87#FFFFFF#000000##000000
##CA4F871.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626D89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#D94765
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4f87;
/* rgb */ color: rgb(202, 79, 135);
/* oklch */ color: oklch(60.6% 0.166 354.9);
Tailwind
colors: {
  custom: {
    50: '#de87a9',
    500: '#ca4f87',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f87;
$custom-light: #de87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f87",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 332.683,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.16586,
    "h": 354.9
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#CA4F87
secondary
#A1D4BD
accent
#DD9A4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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