#CA2F88#CA2F88

#CA2F88 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.4% C 0.206 H 350.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA2F88
RGBrgb(202, 47, 136)
HSLhsl(326, 62%, 49%)
HSVhsv(326, 77%, 79%)
CMYKcmyk(0%, 76.7%, 32.7%, 20.8%)
CIE-LABlab(47.46, 66.23, -12.86)
CIE-LCHlch(47.46, 67.46, 349.01°)
OKLaboklab(57.43% 0.2028 -0.0334)
OKLCHoklch(57.43% 0.206 350.6)
XYZxyz(29.8193, 16.3707, 24.8773)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F88 #2FCA71
analogous
#BF2FCA #CA2F88 #CA2F3B
triadic
#CA2F88 #88CA2F #2F88CA
tetradic
#CA2F88 #CABF2F #2FCA71 #2F3BCA
square
#CA2F88 #CABF2F #2FCA71 #2F3BCA
split-complementary
#CA2F88 #3BCA2F #2FCABF
monochromatic
#671845 #982367 #CA2F88 #D95DA4 #E58FC0

Accessibility & contrast

On white

4.91
#CA2F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2F88
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F88#FFFFFF#000000##FFFFFF
##CA2F881.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F8A
Deuteranopia (green-blind)
#777A85
Tritanopia (blue-blind)
#D92358
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca2f88;
/* rgb */ color: rgb(202, 47, 136);
/* oklch */ color: oklch(57.4% 0.206 350.6);
Tailwind
colors: {
  custom: {
    50: '#df77aa',
    500: '#ca2f88',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f88;
$custom-light: #df77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f88",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 325.548,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.20555,
    "h": 350.6
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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