#CA5174#CA5174

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

Color values

HEX#CA5174
RGBrgb(202, 81, 116)
HSLhsl(343, 53%, 55%)
HSVhsv(343, 60%, 79%)
CMYKcmyk(0%, 59.9%, 42.6%, 20.8%)
CIE-LABlab(51.50, 51.18, 5.17)
CIE-LCHlch(51.50, 51.44, 5.77°)
OKLaboklab(60.21% 0.1559 0.0139)
OKLCHoklch(60.21% 0.157 5.1)
XYZxyz(30.4540, 19.7058, 18.7195)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5174 #51CAA7
analogous
#CA51B0 #CA5174 #CA6B51
triadic
#CA5174 #74CA51 #5174CA
tetradic
#CA5174 #B0CA51 #51CAA7 #6B51CA
square
#CA5174 #B0CA51 #51CAA7 #6B51CA
split-complementary
#CA5174 #51CA6B #51B0CA
monochromatic
#7B253E #AA3456 #CA5174 #D88099 #E7AFBF

Accessibility & contrast

On white

4.25
#CA5174 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CA5174 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5174
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5174#FFFFFF#000000##000000
##CA51741.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C75
Deuteranopia (green-blind)
#888471
Tritanopia (blue-blind)
#DA435E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5174;
/* rgb */ color: rgb(202, 81, 116);
/* oklch */ color: oklch(60.2% 0.157 5.1);
Tailwind
colors: {
  custom: {
    50: '#df879b',
    500: '#ca5174',
    950: '#000000',
  },
}
SCSS
$custom: #ca5174;
$custom-light: #df879b;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5174",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 342.645,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.15656,
    "h": 5.1
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#CA5174
secondary
#A2D5C6
accent
#DDB34B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA5174

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

Preview Lab → · Contrast checker → · Palette generator →

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