#CA4D87#CA4D87

#CA4D87 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.169 H 354.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA4D87
RGBrgb(202, 77, 135)
HSLhsl(332, 54%, 55%)
HSVhsv(332, 62%, 79%)
CMYKcmyk(0%, 61.9%, 33.2%, 20.8%)
CIE-LABlab(51.40, 55.07, -6.34)
CIE-LCHlch(51.40, 55.44, 353.43°)
OKLaboklab(60.32% 0.1679 -0.016)
OKLCHoklch(60.32% 0.169 354.5)
XYZxyz(31.3858, 19.6169, 25.0505)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D87 #4DCA90
analogous
#CA4DC6 #CA4D87 #CA514D
triadic
#CA4D87 #87CA4D #4D87CA
tetradic
#CA4D87 #C6CA4D #4DCA90 #514DCA
square
#CA4D87 #C6CA4D #4DCA90 #514DCA
split-complementary
#CA4D87 #4DCA51 #4DC6CA
monochromatic
#79244B #A83269 #CA4D87 #D87CA7 #E6ABC7

Accessibility & contrast

On white

4.27
#CA4D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CA4D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D87
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D87#FFFFFF#000000##000000
##CA4D871.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#D94464
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4d87;
/* rgb */ color: rgb(202, 77, 135);
/* oklch */ color: oklch(60.3% 0.169 354.5);
Tailwind
colors: {
  custom: {
    50: '#de85a9',
    500: '#ca4d87',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d87;
$custom-light: #de85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d87",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 332.16,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.16869,
    "h": 354.5
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#CA4D87
secondary
#9FD4BB
accent
#DD994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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