#CA5170#CA5170

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

Color values

HEX#CA5170
RGBrgb(202, 81, 112)
HSLhsl(345, 53%, 55%)
HSVhsv(345, 60%, 79%)
CMYKcmyk(0%, 59.9%, 44.6%, 20.8%)
CIE-LABlab(51.40, 50.77, 7.42)
CIE-LCHlch(51.40, 51.31, 8.32°)
OKLaboklab(60.1% 0.1545 0.0195)
OKLCHoklch(60.1% 0.156 7.2)
XYZxyz(30.2263, 19.6148, 17.5204)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5170 #51CAAB
analogous
#CA51AC #CA5170 #CA6E51
triadic
#CA5170 #70CA51 #5170CA
tetradic
#CA5170 #ACCA51 #51CAAB #6E51CA
square
#CA5170 #ACCA51 #51CAAB #6E51CA
split-complementary
#CA5170 #51CA6E #51ACCA
monochromatic
#7B253B #AA3452 #CA5170 #D88097 #E7AFBD

Accessibility & contrast

On white

4.27
#CA5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CA5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5170
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5170#FFFFFF#000000##000000
##CA51701.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6B71
Deuteranopia (green-blind)
#89836D
Tritanopia (blue-blind)
#DB425D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca5170;
/* rgb */ color: rgb(202, 81, 112);
/* oklch */ color: oklch(60.1% 0.156 7.2);
Tailwind
colors: {
  custom: {
    50: '#df8798',
    500: '#ca5170',
    950: '#000000',
  },
}
SCSS
$custom: #ca5170;
$custom-light: #df8798;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5170",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 344.628,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.1557,
    "h": 7.2
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#CA5170
secondary
#A2D5C8
accent
#DDB74B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CA5170

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

Preview Lab → · Contrast checker → · Palette generator →

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