#CA307D#CA307D

#CA307D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.1% C 0.200 H 355.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA307D
RGBrgb(202, 48, 125)
HSLhsl(330, 62%, 49%)
HSVhsv(330, 76%, 79%)
CMYKcmyk(0%, 76.2%, 38.1%, 20.8%)
CIE-LABlab(47.18, 64.75, -6.60)
CIE-LCHlch(47.18, 65.08, 354.18°)
OKLaboklab(57.1% 0.1989 -0.0166)
OKLCHoklch(57.1% 0.2 355.2)
XYZxyz(29.1177, 16.1548, 20.9829)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA307D #30CA7D
analogous
#CA30CA #CA307D #CA3030
triadic
#CA307D #7DCA30 #307DCA
tetradic
#CA307D #CACA30 #30CA7D #3030CA
square
#CA307D #CACA30 #30CA7D #3030CA
split-complementary
#CA307D #30CA30 #30CACA
monochromatic
#671840 #99245E #CA307D #D95E9C #E590BA

Accessibility & contrast

On white

4.96
#CA307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CA307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA307D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA307D#FFFFFF#000000##FFFFFF
##CA307D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E7F
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#DA1C53
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca307d;
/* rgb */ color: rgb(202, 48, 125);
/* oklch */ color: oklch(57.1% 0.200 355.2);
Tailwind
colors: {
  custom: {
    50: '#df77a2',
    500: '#ca307d',
    950: '#000000',
  },
}
SCSS
$custom: #ca307d;
$custom-light: #df77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca307d",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 330,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.19962,
    "h": 355.2
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#CA307D
secondary
#87CFAB
accent
#E59443
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA307D

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

Preview Lab → · Contrast checker → · Palette generator →

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