#CA2F77#CA2F77

#CA2F77 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.8% C 0.198 H 357.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA2F77
RGBrgb(202, 47, 119)
HSLhsl(332, 62%, 49%)
HSVhsv(332, 77%, 79%)
CMYKcmyk(0%, 76.7%, 41.1%, 20.8%)
CIE-LABlab(46.88, 64.45, -3.38)
CIE-LCHlch(46.88, 64.53, 357.00°)
OKLaboklab(56.81% 0.1981 -0.0081)
OKLCHoklch(56.81% 0.198 357.7)
XYZxyz(28.7055, 15.9252, 19.0114)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F77 #2FCA82
analogous
#CA2FC5 #CA2F77 #CA352F
triadic
#CA2F77 #77CA2F #2F77CA
tetradic
#CA2F77 #C5CA2F #2FCA82 #352FCA
square
#CA2F77 #C5CA2F #2FCA82 #352FCA
split-complementary
#CA2F77 #2FCA35 #2FC5CA
monochromatic
#67183D #98235A #CA2F77 #D95D97 #E58FB7

Accessibility & contrast

On white

5.02
#CA2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA2F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F77
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F77#FFFFFF#000000##FFFFFF
##CA2F771.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D79
Deuteranopia (green-blind)
#7B7A73
Tritanopia (blue-blind)
#DB154F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f77;
/* rgb */ color: rgb(202, 47, 119);
/* oklch */ color: oklch(56.8% 0.198 357.7);
Tailwind
colors: {
  custom: {
    50: '#e0779e',
    500: '#ca2f77',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f77;
$custom-light: #e0779e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f77",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 332.129,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.19826,
    "h": 357.7
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#CA2F77
secondary
#86CFAD
accent
#E59A42
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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