#CA5098#CA5098

#CA5098 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.173 H 347.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CA5098
RGBrgb(202, 80, 152)
HSLhsl(325, 54%, 55%)
HSVhsv(325, 60%, 79%)
CMYKcmyk(0%, 60.4%, 24.8%, 20.8%)
CIE-LABlab(52.47, 55.92, -14.83)
CIE-LCHlch(52.47, 57.86, 345.14°)
OKLaboklab(61.3% 0.1687 -0.0391)
OKLCHoklch(61.3% 0.173 347)
XYZxyz(32.8945, 20.5640, 31.9365)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5098 #50CA82
analogous
#BF50CA #CA5098 #CA505B
triadic
#CA5098 #98CA50 #5098CA
tetradic
#CA5098 #CABF50 #50CA82 #505BCA
square
#CA5098 #CABF50 #50CA82 #505BCA
split-complementary
#CA5098 #5BCA50 #50CABF
monochromatic
#7A2557 #A93379 #CA5098 #D87FB4 #E6AECF

Accessibility & contrast

On white

4.11
#CA5098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CA5098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5098
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5098#FFFFFF#000000##000000
##CA50981.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#808595
Tritanopia (blue-blind)
#D74D6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca5098;
/* rgb */ color: rgb(202, 80, 152);
/* oklch */ color: oklch(61.3% 0.173 347.0);
Tailwind
colors: {
  custom: {
    50: '#dd87b6',
    500: '#ca5098',
    950: '#000000',
  },
}
SCSS
$custom: #ca5098;
$custom-light: #dd87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5098",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 324.59,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.17317,
    "h": 347
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5098

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

Preview Lab → · Contrast checker → · Palette generator →

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