#CA2F79#CA2F79

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

Color values

HEX#CA2F79
RGBrgb(202, 47, 121)
HSLhsl(331, 62%, 49%)
HSVhsv(331, 77%, 79%)
CMYKcmyk(0%, 76.7%, 40.1%, 20.8%)
CIE-LABlab(46.94, 64.64, -4.51)
CIE-LCHlch(46.94, 64.80, 356.01°)
OKLaboklab(56.88% 0.1987 -0.011)
OKLCHoklch(56.88% 0.199 356.8)
XYZxyz(28.8269, 15.9738, 19.6507)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F79 #2FCA80
analogous
#CA2FC7 #CA2F79 #CA332F
triadic
#CA2F79 #79CA2F #2F79CA
tetradic
#CA2F79 #C7CA2F #2FCA80 #332FCA
square
#CA2F79 #C7CA2F #2FCA80 #332FCA
split-complementary
#CA2F79 #2FCA33 #2FC7CA
monochromatic
#67183E #98235B #CA2F79 #D95D98 #E58FB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2F79#FFFFFF#000000##FFFFFF
##CA2F791.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)
#505D7B
Deuteranopia (green-blind)
#7B7A75
Tritanopia (blue-blind)
#DB1750
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f79;
/* rgb */ color: rgb(202, 47, 121);
/* oklch */ color: oklch(56.9% 0.199 356.8);
Tailwind
colors: {
  custom: {
    50: '#e0779f',
    500: '#ca2f79',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f79;
$custom-light: #e0779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f79",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 331.355,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.19902,
    "h": 356.8
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#CA2F79
secondary
#86CFAC
accent
#E59842
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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