#CA3A7C#CA3A7C

#CA3A7C is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.188 H 356.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA3A7C
RGBrgb(202, 58, 124)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 71%, 79%)
CMYKcmyk(0%, 71.3%, 38.6%, 20.8%)
CIE-LABlab(48.31, 61.36, -4.30)
CIE-LCHlch(48.31, 61.51, 355.99°)
OKLaboklab(57.92% 0.1882 -0.0105)
OKLCHoklch(57.92% 0.188 356.8)
XYZxyz(29.5102, 17.0415, 20.8002)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A7C #3ACA88
analogous
#CA3AC4 #CA3A7C #CA403A
triadic
#CA3A7C #7CCA3A #3A7CCA
tetradic
#CA3A7C #C4CA3A #3ACA88 #403ACA
square
#CA3A7C #C4CA3A #3ACA88 #403ACA
split-complementary
#CA3A7C #3ACA40 #3AC4CA
monochromatic
#6C1D41 #9D2A5F #CA3A7C #D76A9C #E49ABC

Accessibility & contrast

On white

4.76
#CA3A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CA3A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3A7C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3A7C#FFFFFF#000000##FFFFFF
##CA3A7C1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56627E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#DA2A56
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca3a7c;
/* rgb */ color: rgb(202, 58, 124);
/* oklch */ color: oklch(57.9% 0.188 356.8);
Tailwind
colors: {
  custom: {
    50: '#df7ba1',
    500: '#ca3a7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a7c;
$custom-light: #df7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a7c",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 332.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.18849,
    "h": 356.8
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#CA3A7C
secondary
#90D0B3
accent
#E19A47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA3A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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