#CC4281#CC4281

#CC4281 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.183 H 356.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CC4281
RGBrgb(204, 66, 129)
HSLhsl(333, 58%, 53%)
HSVhsv(333, 68%, 80%)
CMYKcmyk(0%, 67.6%, 36.8%, 20%)
CIE-LABlab(49.88, 59.50, -4.96)
CIE-LCHlch(49.88, 59.71, 355.24°)
OKLaboklab(59.19% 0.1822 -0.0123)
OKLCHoklch(59.19% 0.183 356.1)
XYZxyz(30.8144, 18.3224, 22.6785)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4281 #42CC8D
analogous
#CC42C6 #CC4281 #CC4842
triadic
#CC4281 #81CC42 #4281CC
tetradic
#CC4281 #C6CC42 #42CC8D #4842CC
square
#CC4281 #C6CC42 #42CC8D #4842CC
split-complementary
#CC4281 #42CC48 #42C6CC
monochromatic
#741F46 #A42C63 #CC4281 #D972A1 #E6A2C1

Accessibility & contrast

On white

4.50
#CC4281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CC4281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4281
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4281#FFFFFF#000000##000000
##CC42811.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6683
Deuteranopia (green-blind)
#81807E
Tritanopia (blue-blind)
#DC355C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc4281;
/* rgb */ color: rgb(204, 66, 129);
/* oklch */ color: oklch(59.2% 0.183 356.1);
Tailwind
colors: {
  custom: {
    50: '#e080a5',
    500: '#cc4281',
    950: '#000000',
  },
}
SCSS
$custom: #cc4281;
$custom-light: #e080a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4281",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 332.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.18256,
    "h": 356.1
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#CC4281
secondary
#97D3B7
accent
#E19B47
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4281

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

Preview Lab → · Contrast checker → · Palette generator →

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