#CA3198#CA3198

#CA3198 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.212 H 344.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA3198
RGBrgb(202, 49, 152)
HSLhsl(320, 61%, 49%)
HSVhsv(320, 76%, 79%)
CMYKcmyk(0%, 75.7%, 24.8%, 20.8%)
CIE-LABlab(48.29, 67.52, -21.22)
CIE-LCHlch(48.29, 70.78, 342.56°)
OKLaboklab(58.24% 0.2044 -0.0566)
OKLCHoklch(58.24% 0.212 344.5)
XYZxyz(31.1242, 17.0236, 31.3465)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3198 #31CA63
analogous
#B031CA #CA3198 #CA314C
triadic
#CA3198 #98CA31 #3198CA
tetradic
#CA3198 #CAB031 #31CA63 #314CCA
square
#CA3198 #CAB031 #31CA63 #314CCA
split-complementary
#CA3198 #4CCA31 #31CAB0
monochromatic
#67194E #992573 #CA3198 #D860B1 #E491C9

Accessibility & contrast

On white

4.77
#CA3198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA3198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3198
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3198#FFFFFF#000000##FFFFFF
##CA31981.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#737C95
Tritanopia (blue-blind)
#D72F61
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca3198;
/* rgb */ color: rgb(202, 49, 152);
/* oklch */ color: oklch(58.2% 0.212 344.5);
Tailwind
colors: {
  custom: {
    50: '#df78b6',
    500: '#ca3198',
    950: '#000000',
  },
}
SCSS
$custom: #ca3198;
$custom-light: #df78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3198",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 319.608,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.21206,
    "h": 344.5
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#CA3198
secondary
#88CF9F
accent
#E47844
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CA3198

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

Preview Lab → · Contrast checker → · Palette generator →

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