#CA337C#CA337C

#CA337C is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.196 H 356.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA337C
RGBrgb(202, 51, 124)
HSLhsl(331, 60%, 50%)
HSVhsv(331, 75%, 79%)
CMYKcmyk(0%, 74.8%, 38.6%, 20.8%)
CIE-LABlab(47.47, 63.71, -5.55)
CIE-LCHlch(47.47, 63.96, 355.02°)
OKLaboklab(57.3% 0.1957 -0.0138)
OKLCHoklch(57.3% 0.196 356)
XYZxyz(29.1810, 16.3831, 20.6905)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA337C #33CA81
analogous
#CA33C8 #CA337C #CA3533
triadic
#CA337C #7CCA33 #337CCA
tetradic
#CA337C #C8CA33 #33CA81 #3533CA
square
#CA337C #C8CA33 #33CA81 #3533CA
split-complementary
#CA337C #33CA35 #33C8CA
monochromatic
#681A40 #99275E #CA337C #D8639B #E494BA

Accessibility & contrast

On white

4.91
#CA337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA337C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA337C#FFFFFF#000000##FFFFFF
##CA337C1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7E
Deuteranopia (green-blind)
#7B7B79
Tritanopia (blue-blind)
#DA2053
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca337c;
/* rgb */ color: rgb(202, 51, 124);
/* oklch */ color: oklch(57.3% 0.196 356.0);
Tailwind
colors: {
  custom: {
    50: '#df78a1',
    500: '#ca337c',
    950: '#000000',
  },
}
SCSS
$custom: #ca337c;
$custom-light: #df78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca337c",
  "rgb": {
    "r": 202,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 330.993,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.19617,
    "h": 356
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#CA337C
secondary
#8ACFAE
accent
#E39745
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA337C

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

Preview Lab → · Contrast checker → · Palette generator →

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