#CA487F#CA487F

#CA487F is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.5% C 0.172 H 357.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CA487F
RGBrgb(202, 72, 127)
HSLhsl(335, 55%, 54%)
HSVhsv(335, 64%, 79%)
CMYKcmyk(0%, 64.4%, 37.1%, 20.8%)
CIE-LABlab(50.37, 56.28, -3.08)
CIE-LCHlch(50.37, 56.36, 356.87°)
OKLaboklab(59.47% 0.1721 -0.0074)
OKLCHoklch(59.47% 0.172 357.5)
XYZxyz(30.5071, 18.7271, 22.0827)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA487F #48CA93
analogous
#CA48C0 #CA487F #CA5248
triadic
#CA487F #7FCA48 #487FCA
tetradic
#CA487F #C0CA48 #48CA93 #5248CA
square
#CA487F #C0CA48 #48CA93 #5248CA
split-complementary
#CA487F #48CA52 #48C0CA
monochromatic
#762245 #A53061 #CA487F #D877A0 #E5A7C1

Accessibility & contrast

On white

4.43
#CA487F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA487F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA487F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA487F#FFFFFF#000000##000000
##CA487F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#82817C
Tritanopia (blue-blind)
#DA3C5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca487f;
/* rgb */ color: rgb(202, 72, 127);
/* oklch */ color: oklch(59.5% 0.172 357.5);
Tailwind
colors: {
  custom: {
    50: '#de83a4',
    500: '#ca487f',
    950: '#000000',
  },
}
SCSS
$custom: #ca487f;
$custom-light: #de83a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca487f",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 334.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.17223,
    "h": 357.5
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#CA487F
secondary
#9BD3BB
accent
#DE9F49
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA487F

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

Preview Lab → · Contrast checker → · Palette generator →

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