#CC427B#CC427B

#CC427B is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.0% C 0.180 H 358.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC427B
RGBrgb(204, 66, 123)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 67.6%, 39.7%, 20%)
CIE-LABlab(49.70, 58.86, -1.61)
CIE-LCHlch(49.70, 58.88, 358.43°)
OKLaboklab(59% 0.1803 -0.0035)
OKLCHoklch(59% 0.18 358.9)
XYZxyz(30.4272, 18.1675, 20.6394)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC427B #42CC93
analogous
#CC42C0 #CC427B #CC4E42
triadic
#CC427B #7BCC42 #427BCC
tetradic
#CC427B #C0CC42 #42CC93 #4E42CC
square
#CC427B #C0CC42 #42CC93 #4E42CC
split-complementary
#CC427B #42CC4E #42C0CC
monochromatic
#741F42 #A42C5E #CC427B #D9729D #E6A2BE

Accessibility & contrast

On white

4.53
#CC427B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC427B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC427B#FFFFFF#000000##000000
##CC427B1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667D
Deuteranopia (green-blind)
#828078
Tritanopia (blue-blind)
#DC3359
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc427b;
/* rgb */ color: rgb(204, 66, 123);
/* oklch */ color: oklch(59.0% 0.180 358.9);
Tailwind
colors: {
  custom: {
    50: '#e080a1',
    500: '#cc427b',
    950: '#000000',
  },
}
SCSS
$custom: #cc427b;
$custom-light: #e080a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc427b",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 335.217,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.18028,
    "h": 358.9
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#CC427B
secondary
#97D3BA
accent
#E1A147
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC427B

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

Preview Lab → · Contrast checker → · Palette generator →

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