#CA2A7F#CA2A7F

#CA2A7F is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.206 H 353.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA2A7F
RGBrgb(202, 42, 127)
HSLhsl(328, 66%, 48%)
HSVhsv(328, 79%, 79%)
CMYKcmyk(0%, 79.2%, 37.1%, 20.8%)
CIE-LABlab(46.64, 66.66, -8.61)
CIE-LCHlch(46.64, 67.22, 352.64°)
OKLaboklab(56.73% 0.2049 -0.0219)
OKLCHoklch(56.73% 0.206 353.9)
XYZxyz(29.0178, 15.7485, 21.5862)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2A7F #2ACA75
analogous
#C52ACA #CA2A7F #CA2A2F
triadic
#CA2A7F #7FCA2A #2A7FCA
tetradic
#CA2A7F #CAC52A #2ACA75 #2A2FCA
square
#CA2A7F #CAC52A #2ACA75 #2A2FCA
split-complementary
#CA2A7F #2FCA2A #2ACAC5
monochromatic
#65153F #971F5F #CA2A7F #DC559D #E688BA

Accessibility & contrast

On white

5.06
#CA2A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CA2A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2A7F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2A7F#FFFFFF#000000##FFFFFF
##CA2A7F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C81
Deuteranopia (green-blind)
#78797B
Tritanopia (blue-blind)
#DA1351
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2a7f;
/* rgb */ color: rgb(202, 42, 127);
/* oklch */ color: oklch(56.7% 0.206 353.9);
Tailwind
colors: {
  custom: {
    50: '#df75a4',
    500: '#ca2a7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2a7f;
$custom-light: #df75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2a7f",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 328.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.20611,
    "h": 353.9
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#CA2A7F
secondary
#80D0A5
accent
#E98F3F
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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