#CA337B#CA337B

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

Color values

HEX#CA337B
RGBrgb(202, 51, 123)
HSLhsl(331, 60%, 50%)
HSVhsv(331, 75%, 79%)
CMYKcmyk(0%, 74.8%, 39.1%, 20.8%)
CIE-LABlab(47.44, 63.61, -4.99)
CIE-LCHlch(47.44, 63.81, 355.52°)
OKLaboklab(57.27% 0.1954 -0.0123)
OKLCHoklch(57.27% 0.196 356.4)
XYZxyz(29.1181, 16.3579, 20.3591)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA337B #33CA82
analogous
#CA33C7 #CA337B #CA3733
triadic
#CA337B #7BCA33 #337BCA
tetradic
#CA337B #C7CA33 #33CA82 #3733CA
square
#CA337B #C7CA33 #33CA82 #3733CA
split-complementary
#CA337B #33CA37 #33C7CA
monochromatic
#681A3F #99275D #CA337B #D8639A #E494BA

Accessibility & contrast

On white

4.92
#CA337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA337B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA337B#FFFFFF#000000##FFFFFF
##CA337B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7D
Deuteranopia (green-blind)
#7C7B78
Tritanopia (blue-blind)
#DA1F53
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca337b;
/* rgb */ color: rgb(202, 51, 123);
/* oklch */ color: oklch(57.3% 0.196 356.4);
Tailwind
colors: {
  custom: {
    50: '#df78a1',
    500: '#ca337b',
    950: '#000000',
  },
}
SCSS
$custom: #ca337b;
$custom-light: #df78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca337b",
  "rgb": {
    "r": 202,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 331.391,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.19577,
    "h": 356.4
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#CA337B
secondary
#8ACFAE
accent
#E39845
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA337B

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

Preview Lab → · Contrast checker → · Palette generator →

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