#CC4273#CC4273

#CC4273 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.7% C 0.178 H 2.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4273
RGBrgb(204, 66, 115)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 67.6%, 43.6%, 20%)
CIE-LABlab(49.47, 58.05, 2.89)
CIE-LCHlch(49.47, 58.12, 2.85°)
OKLaboklab(58.75% 0.1776 0.0081)
OKLCHoklch(58.75% 0.178 2.6)
XYZxyz(29.9468, 17.9753, 18.1089)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4273 #42CC9B
analogous
#CC42B8 #CC4273 #CC5642
triadic
#CC4273 #73CC42 #4273CC
tetradic
#CC4273 #B8CC42 #42CC9B #5642CC
square
#CC4273 #B8CC42 #42CC9B #5642CC
split-complementary
#CC4273 #42CC56 #42B8CC
monochromatic
#741F3D #A42C57 #CC4273 #D97297 #E6A2BA

Accessibility & contrast

On white

4.57
#CC4273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC4273 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4273
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4273#FFFFFF#000000##000000
##CC42731.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6574
Deuteranopia (green-blind)
#847F70
Tritanopia (blue-blind)
#DD2F56
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4273;
/* rgb */ color: rgb(204, 66, 115);
/* oklch */ color: oklch(58.7% 0.178 2.6);
Tailwind
colors: {
  custom: {
    50: '#e17f9b',
    500: '#cc4273',
    950: '#000000',
  },
}
SCSS
$custom: #cc4273;
$custom-light: #e17f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4273",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 338.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.17773,
    "h": 2.6
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#CC4273
secondary
#97D3BE
accent
#E1AA47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4273

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

Preview Lab → · Contrast checker → · Palette generator →

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