#CA2F7A#CA2F7A

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

Color values

HEX#CA2F7A
RGBrgb(202, 47, 122)
HSLhsl(331, 62%, 49%)
HSVhsv(331, 77%, 79%)
CMYKcmyk(0%, 76.7%, 39.6%, 20.8%)
CIE-LABlab(46.97, 64.74, -5.07)
CIE-LCHlch(46.97, 64.94, 355.52°)
OKLaboklab(56.91% 0.199 -0.0125)
OKLCHoklch(56.91% 0.199 356.4)
XYZxyz(28.8885, 15.9984, 19.9753)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F7A #2FCA7F
analogous
#CA2FC8 #CA2F7A #CA322F
triadic
#CA2F7A #7ACA2F #2F7ACA
tetradic
#CA2F7A #C8CA2F #2FCA7F #322FCA
square
#CA2F7A #C8CA2F #2FCA7F #322FCA
split-complementary
#CA2F7A #2FCA32 #2FC8CA
monochromatic
#67183E #98235C #CA2F7A #D95D99 #E58FB8

Accessibility & contrast

On white

5.00
#CA2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CA2F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F7A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F7A#FFFFFF#000000##FFFFFF
##CA2F7A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#7B7A76
Tritanopia (blue-blind)
#DA1851
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f7a;
/* rgb */ color: rgb(202, 47, 122);
/* oklch */ color: oklch(56.9% 0.199 356.4);
Tailwind
colors: {
  custom: {
    50: '#e077a0',
    500: '#ca2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f7a;
$custom-light: #e077a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f7a",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 330.968,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.1994,
    "h": 356.4
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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