#CA5198#CA5198

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

Color values

HEX#CA5198
RGBrgb(202, 81, 152)
HSLhsl(325, 53%, 55%)
HSVhsv(325, 60%, 79%)
CMYKcmyk(0%, 59.9%, 24.8%, 20.8%)
CIE-LABlab(52.63, 55.48, -14.59)
CIE-LCHlch(52.63, 57.37, 345.27°)
OKLaboklab(61.42% 0.1673 -0.0384)
OKLCHoklch(61.42% 0.172 347.1)
XYZxyz(32.9682, 20.7115, 31.9611)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5198 #51CA83
analogous
#BF51CA #CA5198 #CA515C
triadic
#CA5198 #98CA51 #5198CA
tetradic
#CA5198 #CABF51 #51CA83 #515CCA
square
#CA5198 #CABF51 #51CA83 #515CCA
split-complementary
#CA5198 #5CCA51 #51CABF
monochromatic
#7B2558 #AA3479 #CA5198 #D880B4 #E7AFD0

Accessibility & contrast

On white

4.08
#CA5198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5198#FFFFFF#000000##000000
##CA51981.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E709A
Deuteranopia (green-blind)
#808595
Tritanopia (blue-blind)
#D74E6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca5198;
/* rgb */ color: rgb(202, 81, 152);
/* oklch */ color: oklch(61.4% 0.172 347.1);
Tailwind
colors: {
  custom: {
    50: '#dd88b6',
    500: '#ca5198',
    950: '#000000',
  },
}
SCSS
$custom: #ca5198;
$custom-light: #dd88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5198",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 324.793,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61418,
    "c": 0.17169,
    "h": 347.1
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5198

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

Preview Lab → · Contrast checker → · Palette generator →

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