#CA5172#CA5172

#CA5172 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.2% C 0.156 H 6.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA5172
RGBrgb(202, 81, 114)
HSLhsl(344, 53%, 55%)
HSVhsv(344, 60%, 79%)
CMYKcmyk(0%, 59.9%, 43.6%, 20.8%)
CIE-LABlab(51.45, 50.98, 6.30)
CIE-LCHlch(51.45, 51.36, 7.04°)
OKLaboklab(60.15% 0.1552 0.0167)
OKLCHoklch(60.15% 0.156 6.2)
XYZxyz(30.3389, 19.6598, 18.1134)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5172 #51CAA9
analogous
#CA51AF #CA5172 #CA6C51
triadic
#CA5172 #72CA51 #5172CA
tetradic
#CA5172 #AFCA51 #51CAA9 #6C51CA
square
#CA5172 #AFCA51 #51CAA9 #6C51CA
split-complementary
#CA5172 #51CA6C #51AFCA
monochromatic
#7B253D #AA3454 #CA5172 #D88098 #E7AFBE

Accessibility & contrast

On white

4.26
#CA5172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA5172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5172
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5172#FFFFFF#000000##000000
##CA51721.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C73
Deuteranopia (green-blind)
#89836F
Tritanopia (blue-blind)
#DB425E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5172;
/* rgb */ color: rgb(202, 81, 114);
/* oklch */ color: oklch(60.2% 0.156 6.2);
Tailwind
colors: {
  custom: {
    50: '#df879a',
    500: '#ca5172',
    950: '#000000',
  },
}
SCSS
$custom: #ca5172;
$custom-light: #df879a;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5172",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 343.636,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.15611,
    "h": 6.2
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#CA5172
secondary
#A2D5C7
accent
#DDB54B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA5172

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

Preview Lab → · Contrast checker → · Palette generator →

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