#CA3173#CA3173

#CA3173 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.195 H 359.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA3173
RGBrgb(202, 49, 115)
HSLhsl(334, 61%, 49%)
HSVhsv(334, 76%, 79%)
CMYKcmyk(0%, 75.7%, 43.1%, 20.8%)
CIE-LABlab(46.97, 63.45, -0.79)
CIE-LCHlch(46.97, 63.46, 359.28°)
OKLaboklab(56.84% 0.1949 -0.0013)
OKLCHoklch(56.84% 0.195 359.6)
XYZxyz(28.5521, 15.9947, 17.8001)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3173 #31CA88
analogous
#CA31C0 #CA3173 #CA3C31
triadic
#CA3173 #73CA31 #3173CA
tetradic
#CA3173 #C0CA31 #31CA88 #3C31CA
square
#CA3173 #C0CA31 #31CA88 #3C31CA
split-complementary
#CA3173 #31CA3C #31C0CA
monochromatic
#67193B #992557 #CA3173 #D86094 #E491B5

Accessibility & contrast

On white

5.00
#CA3173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CA3173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3173
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3173#FFFFFF#000000##FFFFFF
##CA31731.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535D75
Deuteranopia (green-blind)
#7D7A6F
Tritanopia (blue-blind)
#DB154E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca3173;
/* rgb */ color: rgb(202, 49, 115);
/* oklch */ color: oklch(56.8% 0.195 359.6);
Tailwind
colors: {
  custom: {
    50: '#e0779b',
    500: '#ca3173',
    950: '#000000',
  },
}
SCSS
$custom: #ca3173;
$custom-light: #e0779b;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3173",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 334.118,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.19489,
    "h": 359.6
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#CA3173
secondary
#88CFB0
accent
#E49F44
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA3173

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

Preview Lab → · Contrast checker → · Palette generator →

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