#CA337F#CA337F

#CA337F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.197 H 354.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CA337F
RGBrgb(202, 51, 127)
HSLhsl(330, 60%, 50%)
HSVhsv(330, 75%, 79%)
CMYKcmyk(0%, 74.8%, 37.1%, 20.8%)
CIE-LABlab(47.57, 64.03, -7.22)
CIE-LCHlch(47.57, 64.43, 353.56°)
OKLaboklab(57.41% 0.1966 -0.0183)
OKLCHoklch(57.41% 0.197 354.7)
XYZxyz(29.3736, 16.4601, 21.7049)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA337F #33CA7E
analogous
#CA33CA #CA337F #CA3334
triadic
#CA337F #7FCA33 #337FCA
tetradic
#CA337F #CACA33 #33CA7E #3334CA
square
#CA337F #CACA33 #33CA7E #3334CA
split-complementary
#CA337F #34CA33 #33CACA
monochromatic
#681A42 #992760 #CA337F #D8639D #E494BC

Accessibility & contrast

On white

4.89
#CA337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CA337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA337F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA337F#FFFFFF#000000##FFFFFF
##CA337F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#7B7B7C
Tritanopia (blue-blind)
#DA2255
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca337f;
/* rgb */ color: rgb(202, 51, 127);
/* oklch */ color: oklch(57.4% 0.197 354.7);
Tailwind
colors: {
  custom: {
    50: '#df79a4',
    500: '#ca337f',
    950: '#000000',
  },
}
SCSS
$custom: #ca337f;
$custom-light: #df79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca337f",
  "rgb": {
    "r": 202,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 329.801,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57407,
    "c": 0.19741,
    "h": 354.7
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#CA337F
secondary
#8ACFAC
accent
#E39345
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA337F

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

Preview Lab → · Contrast checker → · Palette generator →

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