#CA2F87#CA2F87

#CA2F87 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.4% C 0.205 H 351.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA2F87
RGBrgb(202, 47, 135)
HSLhsl(326, 62%, 49%)
HSVhsv(326, 77%, 79%)
CMYKcmyk(0%, 76.7%, 33.2%, 20.8%)
CIE-LABlab(47.42, 66.11, -12.31)
CIE-LCHlch(47.42, 67.25, 349.45°)
OKLaboklab(57.39% 0.2026 -0.0319)
OKLCHoklch(57.39% 0.205 351)
XYZxyz(29.7486, 16.3424, 24.5048)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F87 #2FCA72
analogous
#C02FCA #CA2F87 #CA2F3A
triadic
#CA2F87 #87CA2F #2F87CA
tetradic
#CA2F87 #CAC02F #2FCA72 #2F3ACA
square
#CA2F87 #CAC02F #2FCA72 #2F3ACA
split-complementary
#CA2F87 #3ACA2F #2FCAC0
monochromatic
#671845 #982366 #CA2F87 #D95DA4 #E58FC0

Accessibility & contrast

On white

4.92
#CA2F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA2F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F87
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F87#FFFFFF#000000##FFFFFF
##CA2F871.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#787A84
Tritanopia (blue-blind)
#D92257
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2f87;
/* rgb */ color: rgb(202, 47, 135);
/* oklch */ color: oklch(57.4% 0.205 351.0);
Tailwind
colors: {
  custom: {
    50: '#df77aa',
    500: '#ca2f87',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f87;
$custom-light: #df77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f87",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 325.935,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.20507,
    "h": 351
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#CA2F87
secondary
#86CFA5
accent
#E58942
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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