#CA5197#CA5197

#CA5197 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.171 H 347.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA5197
RGBrgb(202, 81, 151)
HSLhsl(325, 53%, 55%)
HSVhsv(325, 60%, 79%)
CMYKcmyk(0%, 59.9%, 25.2%, 20.8%)
CIE-LABlab(52.60, 55.35, -14.05)
CIE-LCHlch(52.60, 57.10, 345.76°)
OKLaboklab(61.38% 0.1671 -0.0369)
OKLCHoklch(61.38% 0.171 347.5)
XYZxyz(32.8867, 20.6789, 31.5316)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5197 #51CA84
analogous
#C051CA #CA5197 #CA515A
triadic
#CA5197 #97CA51 #5197CA
tetradic
#CA5197 #CAC051 #51CA84 #515ACA
square
#CA5197 #CAC051 #51CA84 #515ACA
split-complementary
#CA5197 #5ACA51 #51CAC0
monochromatic
#7B2557 #AA3478 #CA5197 #D880B3 #E7AFCF

Accessibility & contrast

On white

4.09
#CA5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CA5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5197
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5197#FFFFFF#000000##000000
##CA51971.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#D74E6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca5197;
/* rgb */ color: rgb(202, 81, 151);
/* oklch */ color: oklch(61.4% 0.171 347.5);
Tailwind
colors: {
  custom: {
    50: '#dd88b5',
    500: '#ca5197',
    950: '#000000',
  },
}
SCSS
$custom: #ca5197;
$custom-light: #dd88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5197",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 325.289,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.17112,
    "h": 347.5
  },
  "luminance": 0.20676
}

Semantic roles & 50–950 ramp

primary
#CA5197
secondary
#A2D5B7
accent
#DD884B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA5197

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

Preview Lab → · Contrast checker → · Palette generator →

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