#CA2F74#CA2F74

#CA2F74 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.197 H 358.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA2F74
RGBrgb(202, 47, 116)
HSLhsl(333, 62%, 49%)
HSVhsv(333, 77%, 79%)
CMYKcmyk(0%, 76.7%, 42.6%, 20.8%)
CIE-LABlab(46.78, 64.16, -1.68)
CIE-LCHlch(46.78, 64.18, 358.50°)
OKLaboklab(56.71% 0.1972 -0.0036)
OKLCHoklch(56.71% 0.197 358.9)
XYZxyz(28.5282, 15.8543, 18.0775)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F74 #2FCA85
analogous
#CA2FC2 #CA2F74 #CA372F
triadic
#CA2F74 #74CA2F #2F74CA
tetradic
#CA2F74 #C2CA2F #2FCA85 #372FCA
square
#CA2F74 #C2CA2F #2FCA85 #372FCA
split-complementary
#CA2F74 #2FCA37 #2FC2CA
monochromatic
#67183B #982357 #CA2F74 #D95D94 #E58FB5

Accessibility & contrast

On white

5.04
#CA2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CA2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F74
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F74#FFFFFF#000000##FFFFFF
##CA2F741.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C76
Deuteranopia (green-blind)
#7C7970
Tritanopia (blue-blind)
#DB124E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f74;
/* rgb */ color: rgb(202, 47, 116);
/* oklch */ color: oklch(56.7% 0.197 358.9);
Tailwind
colors: {
  custom: {
    50: '#e0779b',
    500: '#ca2f74',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f74;
$custom-light: #e0779b;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f74",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 333.29,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.19719,
    "h": 358.9
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#CA2F74
secondary
#86CFAE
accent
#E59D42
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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