#CC4270#CC4270

#CC4270 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.177 H 4.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CC4270
RGBrgb(204, 66, 112)
HSLhsl(340, 58%, 53%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 67.6%, 45.1%, 20%)
CIE-LABlab(49.38, 57.76, 4.58)
CIE-LCHlch(49.38, 57.94, 4.54°)
OKLaboklab(58.66% 0.1765 0.0124)
OKLCHoklch(58.66% 0.177 4)
XYZxyz(29.7769, 17.9074, 17.2145)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4270 #42CC9E
analogous
#CC42B5 #CC4270 #CC5942
triadic
#CC4270 #70CC42 #4270CC
tetradic
#CC4270 #B5CC42 #42CC9E #5942CC
square
#CC4270 #B5CC42 #42CC9E #5942CC
split-complementary
#CC4270 #42CC59 #42B5CC
monochromatic
#741F3C #A42C54 #CC4270 #D97294 #E6A2B9

Accessibility & contrast

On white

4.58
#CC4270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC4270 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4270
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4270#FFFFFF#000000##000000
##CC42701.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606471
Deuteranopia (green-blind)
#847F6D
Tritanopia (blue-blind)
#DD2E55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4270;
/* rgb */ color: rgb(204, 66, 112);
/* oklch */ color: oklch(58.7% 0.177 4.0);
Tailwind
colors: {
  custom: {
    50: '#e17f98',
    500: '#cc4270',
    950: '#000000',
  },
}
SCSS
$custom: #cc4270;
$custom-light: #e17f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4270",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 340,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.17693,
    "h": 4
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#CC4270
secondary
#97D3BF
accent
#E1AE47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC4270

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

Preview Lab → · Contrast checker → · Palette generator →

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