#CA3A7B#CA3A7B

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

Color values

HEX#CA3A7B
RGBrgb(202, 58, 123)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 71%, 79%)
CMYKcmyk(0%, 71.3%, 39.1%, 20.8%)
CIE-LABlab(48.28, 61.26, -3.74)
CIE-LCHlch(48.28, 61.37, 356.50°)
OKLaboklab(57.88% 0.1879 -0.0091)
OKLCHoklch(57.88% 0.188 357.2)
XYZxyz(29.4473, 17.0163, 20.4688)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A7B #3ACA89
analogous
#CA3AC3 #CA3A7B #CA413A
triadic
#CA3A7B #7BCA3A #3A7BCA
tetradic
#CA3A7B #C3CA3A #3ACA89 #413ACA
square
#CA3A7B #C3CA3A #3ACA89 #413ACA
split-complementary
#CA3A7B #3ACA41 #3AC3CA
monochromatic
#6C1D41 #9D2A5E #CA3A7B #D76A9B #E49ABC

Accessibility & contrast

On white

4.77
#CA3A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA3A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3A7B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3A7B#FFFFFF#000000##FFFFFF
##CA3A7B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#7E7C78
Tritanopia (blue-blind)
#DA2956
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca3a7b;
/* rgb */ color: rgb(202, 58, 123);
/* oklch */ color: oklch(57.9% 0.188 357.2);
Tailwind
colors: {
  custom: {
    50: '#df7ba1',
    500: '#ca3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a7b;
$custom-light: #df7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a7b",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 332.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.18811,
    "h": 357.2
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#CA3A7B
secondary
#90D0B3
accent
#E19B47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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