#CA3F98#CA3F98

#CA3F98 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.4% C 0.196 H 345.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CA3F98
RGBrgb(202, 63, 152)
HSLhsl(322, 57%, 52%)
HSVhsv(322, 69%, 79%)
CMYKcmyk(0%, 68.8%, 24.8%, 20.8%)
CIE-LABlab(49.96, 62.83, -18.66)
CIE-LCHlch(49.96, 65.54, 343.46°)
OKLaboklab(59.45% 0.1899 -0.0495)
OKLCHoklch(59.45% 0.196 345.4)
XYZxyz(31.8034, 18.3819, 31.5728)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3F98 #3FCA71
analogous
#B73FCA #CA3F98 #CA3F52
triadic
#CA3F98 #98CA3F #3F98CA
tetradic
#CA3F98 #CAB73F #3FCA71 #3F52CA
square
#CA3F98 #CAB73F #3FCA71 #3F52CA
split-complementary
#CA3F98 #52CA3F #3FCAB7
monochromatic
#701F53 #A02C76 #CA3F98 #D76FB2 #E49FCB

Accessibility & contrast

On white

4.49
#CA3F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CA3F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3F98
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3F98#FFFFFF#000000##000000
##CA3F981.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#787F95
Tritanopia (blue-blind)
#D73D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca3f98;
/* rgb */ color: rgb(202, 63, 152);
/* oklch */ color: oklch(59.4% 0.196 345.4);
Tailwind
colors: {
  custom: {
    50: '#de7fb6',
    500: '#ca3f98',
    950: '#000000',
  },
}
SCSS
$custom: #ca3f98;
$custom-light: #de7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3f98",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 321.583,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.19626,
    "h": 345.4
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#CA3F98
secondary
#94D1AA
accent
#E07F48
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CA3F98

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

Preview Lab → · Contrast checker → · Palette generator →

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