#CA2F78#CA2F78

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

Color values

HEX#CA2F78
RGBrgb(202, 47, 120)
HSLhsl(332, 62%, 49%)
HSVhsv(332, 77%, 79%)
CMYKcmyk(0%, 76.7%, 40.6%, 20.8%)
CIE-LABlab(46.91, 64.54, -3.94)
CIE-LCHlch(46.91, 64.66, 356.50°)
OKLaboklab(56.85% 0.1984 -0.0095)
OKLCHoklch(56.85% 0.199 357.2)
XYZxyz(28.7659, 15.9494, 19.3294)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F78 #2FCA81
analogous
#CA2FC6 #CA2F78 #CA342F
triadic
#CA2F78 #78CA2F #2F78CA
tetradic
#CA2F78 #C6CA2F #2FCA81 #342FCA
square
#CA2F78 #C6CA2F #2FCA81 #342FCA
split-complementary
#CA2F78 #2FCA34 #2FC6CA
monochromatic
#67183D #98235B #CA2F78 #D95D97 #E58FB7

Accessibility & contrast

On white

5.01
#CA2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CA2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F78
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F78#FFFFFF#000000##FFFFFF
##CA2F781.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#7B7A74
Tritanopia (blue-blind)
#DB1650
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f78;
/* rgb */ color: rgb(202, 47, 120);
/* oklch */ color: oklch(56.8% 0.199 357.2);
Tailwind
colors: {
  custom: {
    50: '#e0779e',
    500: '#ca2f78',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f78;
$custom-light: #e0779e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f78",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 331.742,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.19864,
    "h": 357.2
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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