#CA198F#CA198F

#CA198F is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.4% C 0.226 H 346.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CA198F
RGBrgb(202, 25, 143)
HSLhsl(320, 78%, 45%)
HSVhsv(320, 88%, 79%)
CMYKcmyk(0%, 87.6%, 29.2%, 20.8%)
CIE-LABlab(45.96, 72.09, -19.38)
CIE-LCHlch(45.96, 74.65, 344.95°)
OKLaboklab(56.43% 0.2203 -0.0513)
OKLCHoklch(56.43% 0.226 346.9)
XYZxyz(29.6643, 15.2386, 27.3605)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA198F #19CA54
analogous
#AD19CA #CA198F #CA1936
triadic
#CA198F #8FCA19 #198FCA
tetradic
#CA198F #CAAD19 #19CA54 #1936CA
square
#CA198F #CAAD19 #19CA54 #1936CA
split-complementary
#CA198F #36CA19 #19CAAD
monochromatic
#5D0C42 #941268 #CA198F #E73AAD #ED70C4

Accessibility & contrast

On white

5.19
#CA198F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#CA198F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA198F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA198F#FFFFFF#000000##FFFFFF
##CA198F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A92
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#D90B56
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ca198f;
/* rgb */ color: rgb(202, 25, 143);
/* oklch */ color: oklch(56.4% 0.226 346.9);
Tailwind
colors: {
  custom: {
    50: '#df71b0',
    500: '#ca198f',
    950: '#000000',
  },
}
SCSS
$custom: #ca198f;
$custom-light: #df71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca198f",
  "rgb": {
    "r": 202,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 320,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.22621,
    "h": 346.9
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#CA198F
secondary
#6BD48E
accent
#F47433
background
#FEF7FA
surface
#FDEDF4
border
#D5C8CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #CA198F

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

Preview Lab → · Contrast checker → · Palette generator →

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