#CA2F76#CA2F76

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

Color values

HEX#CA2F76
RGBrgb(202, 47, 118)
HSLhsl(333, 62%, 49%)
HSVhsv(333, 77%, 79%)
CMYKcmyk(0%, 76.7%, 41.6%, 20.8%)
CIE-LABlab(46.84, 64.35, -2.81)
CIE-LCHlch(46.84, 64.41, 357.50°)
OKLaboklab(56.78% 0.1978 -0.0066)
OKLCHoklch(56.78% 0.198 358.1)
XYZxyz(28.6458, 15.9013, 18.6968)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F76 #2FCA83
analogous
#CA2FC4 #CA2F76 #CA362F
triadic
#CA2F76 #76CA2F #2F76CA
tetradic
#CA2F76 #C4CA2F #2FCA83 #362FCA
square
#CA2F76 #C4CA2F #2FCA83 #362FCA
split-complementary
#CA2F76 #2FCA36 #2FC4CA
monochromatic
#67183C #982359 #CA2F76 #D95D96 #E58FB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2F76#FFFFFF#000000##FFFFFF
##CA2F761.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)
#515C78
Deuteranopia (green-blind)
#7C7A72
Tritanopia (blue-blind)
#DB144F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f76;
/* rgb */ color: rgb(202, 47, 118);
/* oklch */ color: oklch(56.8% 0.198 358.1);
Tailwind
colors: {
  custom: {
    50: '#e0779d',
    500: '#ca2f76',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f76;
$custom-light: #e0779d;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f76",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 332.516,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.1979,
    "h": 358.1
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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