#CA2F7F#CA2F7F

#CA2F7F is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.1% C 0.201 H 354.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA2F7F
RGBrgb(202, 47, 127)
HSLhsl(329, 62%, 49%)
HSVhsv(329, 77%, 79%)
CMYKcmyk(0%, 76.7%, 37.1%, 20.8%)
CIE-LABlab(47.14, 65.25, -7.87)
CIE-LCHlch(47.14, 65.73, 353.12°)
OKLaboklab(57.09% 0.2005 -0.02)
OKLCHoklch(57.09% 0.201 354.3)
XYZxyz(29.2063, 16.1255, 21.6491)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F7F #2FCA7A
analogous
#C82FCA #CA2F7F #CA2F32
triadic
#CA2F7F #7FCA2F #2F7FCA
tetradic
#CA2F7F #CAC82F #2FCA7A #2F32CA
square
#CA2F7F #CAC82F #2FCA7A #2F32CA
split-complementary
#CA2F7F #32CA2F #2FCAC8
monochromatic
#671841 #982360 #CA2F7F #D95D9D #E58FBB

Accessibility & contrast

On white

4.97
#CA2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#CA2F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F7F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F7F#FFFFFF#000000##FFFFFF
##CA2F7F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E81
Deuteranopia (green-blind)
#7A7A7C
Tritanopia (blue-blind)
#DA1C53
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2f7f;
/* rgb */ color: rgb(202, 47, 127);
/* oklch */ color: oklch(57.1% 0.201 354.3);
Tailwind
colors: {
  custom: {
    50: '#df77a4',
    500: '#ca2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f7f;
$custom-light: #df77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f7f",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 329.032,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.20144,
    "h": 354.3
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#CA2F7F
secondary
#86CFA9
accent
#E59142
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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