#CA2E7C#CA2E7C

#CA2E7C is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 56.9% C 0.201 H 355.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CA2E7C
RGBrgb(202, 46, 124)
HSLhsl(330, 63%, 49%)
HSVhsv(330, 77%, 79%)
CMYKcmyk(0%, 77.2%, 38.6%, 20.8%)
CIE-LABlab(46.93, 65.24, -6.35)
CIE-LCHlch(46.93, 65.55, 354.44°)
OKLaboklab(56.91% 0.2005 -0.0159)
OKLCHoklch(56.91% 0.201 355.5)
XYZxyz(28.9742, 15.9695, 20.6215)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2E7C #2ECA7C
analogous
#CA2ECA #CA2E7C #CA2E2E
triadic
#CA2E7C #7CCA2E #2E7CCA
tetradic
#CA2E7C #CACA2E #2ECA7C #2E2ECA
square
#CA2E7C #CACA2E #2ECA7C #2E2ECA
split-complementary
#CA2E7C #2ECA2E #2ECACA
monochromatic
#66173F #98235D #CA2E7C #DA5B9B #E58DB9

Accessibility & contrast

On white

5.01
#CA2E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CA2E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2E7C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2E7C#FFFFFF#000000##FFFFFF
##CA2E7C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2e7c;
/* rgb */ color: rgb(202, 46, 124);
/* oklch */ color: oklch(56.9% 0.201 355.5);
Tailwind
colors: {
  custom: {
    50: '#df76a1',
    500: '#ca2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2e7c;
$custom-light: #df76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2e7c",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 330,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.20116,
    "h": 355.5
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#CA2E7C
secondary
#84CFAA
accent
#E69442
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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