#CC4274#CC4274

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

Color values

HEX#CC4274
RGBrgb(204, 66, 116)
HSLhsl(338, 58%, 53%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 67.6%, 43.1%, 20%)
CIE-LABlab(49.49, 58.15, 2.32)
CIE-LCHlch(49.49, 58.19, 2.29°)
OKLaboklab(58.78% 0.1779 0.0067)
OKLCHoklch(58.78% 0.178 2.1)
XYZxyz(30.0046, 17.9985, 18.4136)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4274 #42CC9A
analogous
#CC42B9 #CC4274 #CC5542
triadic
#CC4274 #74CC42 #4274CC
tetradic
#CC4274 #B9CC42 #42CC9A #5542CC
square
#CC4274 #B9CC42 #42CC9A #5542CC
split-complementary
#CC4274 #42CC55 #42B9CC
monochromatic
#741F3E #A42C58 #CC4274 #D97297 #E6A2BB

Accessibility & contrast

On white

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

On black

4.60
#CC4274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4274
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4274#FFFFFF#000000##000000
##CC42741.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#848071
Tritanopia (blue-blind)
#DD3056
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4274;
/* rgb */ color: rgb(204, 66, 116);
/* oklch */ color: oklch(58.8% 0.178 2.1);
Tailwind
colors: {
  custom: {
    50: '#e17f9b',
    500: '#cc4274',
    950: '#000000',
  },
}
SCSS
$custom: #cc4274;
$custom-light: #e17f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4274",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 338.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.17802,
    "h": 2.1
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#CC4274
secondary
#97D3BD
accent
#E1A947
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4274

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

Preview Lab → · Contrast checker → · Palette generator →

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