#CA2F89#CA2F89

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

Color values

HEX#CA2F89
RGBrgb(202, 47, 137)
HSLhsl(325, 62%, 49%)
HSVhsv(325, 77%, 79%)
CMYKcmyk(0%, 76.7%, 32.2%, 20.8%)
CIE-LABlab(47.49, 66.34, -13.41)
CIE-LCHlch(47.49, 67.68, 348.57°)
OKLaboklab(57.47% 0.2031 -0.0349)
OKLCHoklch(57.47% 0.206 350.2)
XYZxyz(29.8907, 16.3993, 25.2534)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F89 #2FCA70
analogous
#BE2FCA #CA2F89 #CA2F3C
triadic
#CA2F89 #89CA2F #2F89CA
tetradic
#CA2F89 #CABE2F #2FCA70 #2F3CCA
square
#CA2F89 #CABE2F #2FCA70 #2F3CCA
split-complementary
#CA2F89 #3CCA2F #2FCABE
monochromatic
#671846 #982367 #CA2F89 #D95DA5 #E58FC1

Accessibility & contrast

On white

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

On black

4.28
#CA2F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA2F89#FFFFFF#000000##FFFFFF
##CA2F891.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2f89;
/* rgb */ color: rgb(202, 47, 137);
/* oklch */ color: oklch(57.5% 0.206 350.2);
Tailwind
colors: {
  custom: {
    50: '#df77ab',
    500: '#ca2f89',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f89;
$custom-light: #df77ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f89",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 325.161,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.20605,
    "h": 350.2
  },
  "luminance": 0.16396
}

Semantic roles & 50–950 ramp

primary
#CA2F89
secondary
#86CFA4
accent
#E58742
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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