#CA4098#CA4098

#CA4098 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.195 H 345.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA4098
RGBrgb(202, 64, 152)
HSLhsl(322, 57%, 52%)
HSVhsv(322, 68%, 79%)
CMYKcmyk(0%, 68.3%, 24.8%, 20.8%)
CIE-LABlab(50.09, 62.46, -18.46)
CIE-LCHlch(50.09, 65.13, 343.54°)
OKLaboklab(59.55% 0.1888 -0.049)
OKLCHoklch(59.55% 0.195 345.5)
XYZxyz(31.8593, 18.4936, 31.5915)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4098 #40CA72
analogous
#B740CA #CA4098 #CA4053
triadic
#CA4098 #98CA40 #4098CA
tetradic
#CA4098 #CAB740 #40CA72 #4053CA
square
#CA4098 #CAB740 #40CA72 #4053CA
split-complementary
#CA4098 #53CA40 #40CAB7
monochromatic
#701F53 #A02C76 #CA4098 #D770B2 #E5A0CC

Accessibility & contrast

On white

4.47
#CA4098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CA4098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4098
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4098#FFFFFF#000000##000000
##CA40981.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#50689B
Deuteranopia (green-blind)
#788095
Tritanopia (blue-blind)
#D73E66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca4098;
/* rgb */ color: rgb(202, 64, 152);
/* oklch */ color: oklch(59.5% 0.195 345.5);
Tailwind
colors: {
  custom: {
    50: '#de7fb6',
    500: '#ca4098',
    950: '#000000',
  },
}
SCSS
$custom: #ca4098;
$custom-light: #de7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4098",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 321.739,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.195,
    "h": 345.5
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#CA4098
secondary
#95D1AB
accent
#E07F48
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CA4098

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

Preview Lab → · Contrast checker → · Palette generator →

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