#CA2F7C#CA2F7C

#CA2F7C is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.0% C 0.200 H 355.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CA2F7C
RGBrgb(202, 47, 124)
HSLhsl(330, 62%, 49%)
HSVhsv(330, 77%, 79%)
CMYKcmyk(0%, 76.7%, 38.6%, 20.8%)
CIE-LABlab(47.04, 64.94, -6.19)
CIE-LCHlch(47.04, 65.24, 354.55°)
OKLaboklab(56.98% 0.1996 -0.0155)
OKLCHoklch(56.98% 0.2 355.6)
XYZxyz(29.0137, 16.0485, 20.6347)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F7C #2FCA7D
analogous
#CA2FCA #CA2F7C #CA302F
triadic
#CA2F7C #7CCA2F #2F7CCA
tetradic
#CA2F7C #CACA2F #2FCA7D #302FCA
square
#CA2F7C #CACA2F #2FCA7D #302FCA
split-complementary
#CA2F7C #2FCA30 #2FCACA
monochromatic
#67183F #98235E #CA2F7C #D95D9B #E58FB9

Accessibility & contrast

On white

4.99
#CA2F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CA2F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F7C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F7C#FFFFFF#000000##FFFFFF
##CA2F7C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#7A7A79
Tritanopia (blue-blind)
#DA1952
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f7c;
/* rgb */ color: rgb(202, 47, 124);
/* oklch */ color: oklch(57.0% 0.200 355.6);
Tailwind
colors: {
  custom: {
    50: '#df77a1',
    500: '#ca2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f7c;
$custom-light: #df77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f7c",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 330.194,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.2002,
    "h": 355.6
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#CA2F7C
secondary
#86CFAB
accent
#E59442
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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