#CA3A7F#CA3A7F

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

Color values

HEX#CA3A7F
RGBrgb(202, 58, 127)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 71%, 79%)
CMYKcmyk(0%, 71.3%, 37.1%, 20.8%)
CIE-LABlab(48.41, 61.68, -5.98)
CIE-LCHlch(48.41, 61.97, 354.46°)
OKLaboklab(58.02% 0.1891 -0.015)
OKLCHoklch(58.02% 0.19 355.5)
XYZxyz(29.7028, 17.1185, 21.8146)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A7F #3ACA85
analogous
#CA3AC7 #CA3A7F #CA3D3A
triadic
#CA3A7F #7FCA3A #3A7FCA
tetradic
#CA3A7F #C7CA3A #3ACA85 #3D3ACA
square
#CA3A7F #C7CA3A #3ACA85 #3D3ACA
split-complementary
#CA3A7F #3ACA3D #3AC7CA
monochromatic
#6C1D43 #9D2A61 #CA3A7F #D76A9E #E49ABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA3A7F#FFFFFF#000000##FFFFFF
##CA3A7F1.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)
#556281
Deuteranopia (green-blind)
#7D7D7C
Tritanopia (blue-blind)
#DA2B58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca3a7f;
/* rgb */ color: rgb(202, 58, 127);
/* oklch */ color: oklch(58.0% 0.190 355.5);
Tailwind
colors: {
  custom: {
    50: '#df7ca4',
    500: '#ca3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a7f;
$custom-light: #df7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a7f",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 331.25,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58021,
    "c": 0.1897,
    "h": 355.5
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#CA3A7F
secondary
#90D0B1
accent
#E19747
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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