#CA3170#CA3170

#CA3170 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.194 H 0.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA3170
RGBrgb(202, 49, 112)
HSLhsl(335, 61%, 49%)
HSVhsv(335, 76%, 79%)
CMYKcmyk(0%, 75.7%, 44.6%, 20.8%)
CIE-LABlab(46.88, 63.17, 0.92)
CIE-LCHlch(46.88, 63.18, 0.83°)
OKLaboklab(56.74% 0.1939 0.0031)
OKLCHoklch(56.74% 0.194 0.9)
XYZxyz(28.3823, 15.9268, 16.9057)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3170 #31CA8B
analogous
#CA31BD #CA3170 #CA3F31
triadic
#CA3170 #70CA31 #3170CA
tetradic
#CA3170 #BDCA31 #31CA8B #3F31CA
square
#CA3170 #BDCA31 #31CA8B #3F31CA
split-complementary
#CA3170 #31CA3F #31BDCA
monochromatic
#671939 #992555 #CA3170 #D86091 #E491B3

Accessibility & contrast

On white

5.02
#CA3170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA3170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3170
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3170#FFFFFF#000000##FFFFFF
##CA31701.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C71
Deuteranopia (green-blind)
#7D7A6C
Tritanopia (blue-blind)
#DB124D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca3170;
/* rgb */ color: rgb(202, 49, 112);
/* oklch */ color: oklch(56.7% 0.194 0.9);
Tailwind
colors: {
  custom: {
    50: '#e07798',
    500: '#ca3170',
    950: '#000000',
  },
}
SCSS
$custom: #ca3170;
$custom-light: #e07798;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3170",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 335.294,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.19393,
    "h": 0.9
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#CA3170
secondary
#88CFB2
accent
#E4A244
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CA3170

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

Preview Lab → · Contrast checker → · Palette generator →

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