#CA3A7E#CA3A7E

#CA3A7E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.189 H 355.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CA3A7E
RGBrgb(202, 58, 126)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 71%, 79%)
CMYKcmyk(0%, 71.3%, 37.6%, 20.8%)
CIE-LABlab(48.38, 61.57, -5.42)
CIE-LCHlch(48.38, 61.81, 354.97°)
OKLaboklab(57.99% 0.1888 -0.0135)
OKLCHoklch(57.99% 0.189 355.9)
XYZxyz(29.6380, 17.0926, 21.4731)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A7E #3ACA86
analogous
#CA3AC6 #CA3A7E #CA3E3A
triadic
#CA3A7E #7ECA3A #3A7ECA
tetradic
#CA3A7E #C6CA3A #3ACA86 #3E3ACA
square
#CA3A7E #C6CA3A #3ACA86 #3E3ACA
split-complementary
#CA3A7E #3ACA3E #3AC6CA
monochromatic
#6C1D43 #9D2A60 #CA3A7E #D76A9E #E49ABD

Accessibility & contrast

On white

4.75
#CA3A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CA3A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3A7E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3A7E#FFFFFF#000000##FFFFFF
##CA3A7E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556280
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#DA2B57
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca3a7e;
/* rgb */ color: rgb(202, 58, 126);
/* oklch */ color: oklch(58.0% 0.189 355.9);
Tailwind
colors: {
  custom: {
    50: '#df7ca3',
    500: '#ca3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a7e;
$custom-light: #df7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a7e",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 331.667,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.18929,
    "h": 355.9
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#CA3A7E
secondary
#90D0B2
accent
#E19847
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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