#CA307F#CA307F

#CA307F is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.2% C 0.200 H 354.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA307F
RGBrgb(202, 48, 127)
HSLhsl(329, 62%, 49%)
HSVhsv(329, 76%, 79%)
CMYKcmyk(0%, 76.2%, 37.1%, 20.8%)
CIE-LABlab(47.24, 64.96, -7.71)
CIE-LCHlch(47.24, 65.41, 353.23°)
OKLaboklab(57.17% 0.1995 -0.0196)
OKLCHoklch(57.17% 0.2 354.4)
XYZxyz(29.2468, 16.2064, 21.6626)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA307F #30CA7B
analogous
#C830CA #CA307F #CA3032
triadic
#CA307F #7FCA30 #307FCA
tetradic
#CA307F #CAC830 #30CA7B #3032CA
square
#CA307F #CAC830 #30CA7B #3032CA
split-complementary
#CA307F #32CA30 #30CAC8
monochromatic
#671841 #992460 #CA307F #D95E9D #E590BB

Accessibility & contrast

On white

4.95
#CA307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CA307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA307F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA307F#FFFFFF#000000##FFFFFF
##CA307F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#7A7A7C
Tritanopia (blue-blind)
#DA1D54
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca307f;
/* rgb */ color: rgb(202, 48, 127);
/* oklch */ color: oklch(57.2% 0.200 354.4);
Tailwind
colors: {
  custom: {
    50: '#df77a4',
    500: '#ca307f',
    950: '#000000',
  },
}
SCSS
$custom: #ca307f;
$custom-light: #df77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca307f",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 329.221,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.20046,
    "h": 354.4
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#CA307F
secondary
#87CFAA
accent
#E59243
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA307F

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

Preview Lab → · Contrast checker → · Palette generator →

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