#CA307B#CA307B

#CA307B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 57.0% C 0.199 H 356.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA307B
RGBrgb(202, 48, 123)
HSLhsl(331, 62%, 49%)
HSVhsv(331, 76%, 79%)
CMYKcmyk(0%, 76.2%, 39.1%, 20.8%)
CIE-LABlab(47.11, 64.54, -5.47)
CIE-LCHlch(47.11, 64.78, 355.15°)
OKLaboklab(57.03% 0.1984 -0.0136)
OKLCHoklch(57.03% 0.199 356.1)
XYZxyz(28.9912, 16.1042, 20.3168)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA307B #30CA7F
analogous
#CA30C8 #CA307B #CA3230
triadic
#CA307B #7BCA30 #307BCA
tetradic
#CA307B #C8CA30 #30CA7F #3230CA
square
#CA307B #C8CA30 #30CA7F #3230CA
split-complementary
#CA307B #30CA32 #30C8CA
monochromatic
#67183F #99245D #CA307B #D95E9A #E590B9

Accessibility & contrast

On white

4.98
#CA307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#CA307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA307B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA307B#FFFFFF#000000##FFFFFF
##CA307B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#7B7A78
Tritanopia (blue-blind)
#DA1A52
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca307b;
/* rgb */ color: rgb(202, 48, 123);
/* oklch */ color: oklch(57.0% 0.199 356.1);
Tailwind
colors: {
  custom: {
    50: '#df77a1',
    500: '#ca307b',
    950: '#000000',
  },
}
SCSS
$custom: #ca307b;
$custom-light: #df77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca307b",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 330.779,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.19882,
    "h": 356.1
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#CA307B
secondary
#87CFAC
accent
#E59643
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA307B

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

Preview Lab → · Contrast checker → · Palette generator →

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