#CA3172#CA3172

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

Color values

HEX#CA3172
RGBrgb(202, 49, 114)
HSLhsl(335, 61%, 49%)
HSVhsv(335, 76%, 79%)
CMYKcmyk(0%, 75.7%, 43.6%, 20.8%)
CIE-LABlab(46.94, 63.36, -0.22)
CIE-LCHlch(46.94, 63.36, 359.80°)
OKLaboklab(56.81% 0.1946 0.0001)
OKLCHoklch(56.81% 0.195 0)
XYZxyz(28.4949, 15.9718, 17.4987)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3172 #31CA89
analogous
#CA31BF #CA3172 #CA3D31
triadic
#CA3172 #72CA31 #3172CA
tetradic
#CA3172 #BFCA31 #31CA89 #3D31CA
square
#CA3172 #BFCA31 #31CA89 #3D31CA
split-complementary
#CA3172 #31CA3D #31BFCA
monochromatic
#67193A #992556 #CA3172 #D86093 #E491B4

Accessibility & contrast

On white

5.01
#CA3172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CA3172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3172
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3172#FFFFFF#000000##FFFFFF
##CA31721.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D74
Deuteranopia (green-blind)
#7D7A6E
Tritanopia (blue-blind)
#DB144D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca3172;
/* rgb */ color: rgb(202, 49, 114);
/* oklch */ color: oklch(56.8% 0.195 0.0);
Tailwind
colors: {
  custom: {
    50: '#e0779a',
    500: '#ca3172',
    950: '#000000',
  },
}
SCSS
$custom: #ca3172;
$custom-light: #e0779a;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3172",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 334.51,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56806,
    "c": 0.19457,
    "h": 0
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#CA3172
secondary
#88CFB1
accent
#E4A044
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA3172

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

Preview Lab → · Contrast checker → · Palette generator →

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