#CA5171#CA5171

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

Color values

HEX#CA5171
RGBrgb(202, 81, 113)
HSLhsl(344, 53%, 55%)
HSVhsv(344, 60%, 79%)
CMYKcmyk(0%, 59.9%, 44.1%, 20.8%)
CIE-LABlab(51.42, 50.87, 6.86)
CIE-LCHlch(51.42, 51.33, 7.68°)
OKLaboklab(60.12% 0.1548 0.0181)
OKLCHoklch(60.12% 0.156 6.7)
XYZxyz(30.2823, 19.6372, 17.8152)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5171 #51CAAA
analogous
#CA51AE #CA5171 #CA6D51
triadic
#CA5171 #71CA51 #5171CA
tetradic
#CA5171 #AECA51 #51CAAA #6D51CA
square
#CA5171 #AECA51 #51CAAA #6D51CA
split-complementary
#CA5171 #51CA6D #51AECA
monochromatic
#7B253C #AA3453 #CA5171 #D88097 #E7AFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5171#FFFFFF#000000##000000
##CA51711.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)
#6A6C72
Deuteranopia (green-blind)
#89836E
Tritanopia (blue-blind)
#DB425D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca5171;
/* rgb */ color: rgb(202, 81, 113);
/* oklch */ color: oklch(60.1% 0.156 6.7);
Tailwind
colors: {
  custom: {
    50: '#df8799',
    500: '#ca5171',
    950: '#000000',
  },
}
SCSS
$custom: #ca5171;
$custom-light: #df8799;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5171",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 344.132,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.1559,
    "h": 6.7
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#CA5171
secondary
#A2D5C7
accent
#DDB64B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CA5171

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

Preview Lab → · Contrast checker → · Palette generator →

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