#CA1998#CA1998

#CA1998 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.8% C 0.231 H 343.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA1998
RGBrgb(202, 25, 152)
HSLhsl(317, 78%, 45%)
HSVhsv(317, 88%, 79%)
CMYKcmyk(0%, 87.6%, 24.8%, 20.8%)
CIE-LABlab(46.34, 73.13, -24.22)
CIE-LCHlch(46.34, 77.03, 341.67°)
OKLaboklab(56.83% 0.2218 -0.0649)
OKLCHoklch(56.83% 0.231 343.7)
XYZxyz(30.3736, 15.5223, 31.0962)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA1998 #19CA4B
analogous
#A419CA #CA1998 #CA1940
triadic
#CA1998 #98CA19 #1998CA
tetradic
#CA1998 #CAA419 #19CA4B #1940CA
square
#CA1998 #CAA419 #19CA4B #1940CA
split-complementary
#CA1998 #40CA19 #19CAA4
monochromatic
#5D0C46 #94126F #CA1998 #E73AB6 #ED70CA

Accessibility & contrast

On white

5.12
#CA1998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CA1998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA1998
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA1998#FFFFFF#000000##FFFFFF
##CA19981.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9B
Deuteranopia (green-blind)
#6D7894
Tritanopia (blue-blind)
#D8185B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca1998;
/* rgb */ color: rgb(202, 25, 152);
/* oklch */ color: oklch(56.8% 0.231 343.7);
Tailwind
colors: {
  custom: {
    50: '#df71b6',
    500: '#ca1998',
    950: '#000000',
  },
}
SCSS
$custom: #ca1998;
$custom-light: #df71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca1998",
  "rgb": {
    "r": 202,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 316.949,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.23104,
    "h": 343.7
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#CA1998
secondary
#6BD489
accent
#F46A33
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160911
muted
#847B80

Preview Lab

Preview with #CA1998

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

Preview Lab → · Contrast checker → · Palette generator →

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