#CC4262#CC4262

#CC4262 is a mid, vivid red. Relative luminance 0.176; OKLCH L 58.3% C 0.174 H 10.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC4262
RGBrgb(204, 66, 98)
HSLhsl(346, 58%, 53%)
HSVhsv(346, 68%, 80%)
CMYKcmyk(0%, 67.6%, 52%, 20%)
CIE-LABlab(49.03, 56.52, 12.58)
CIE-LCHlch(49.03, 57.90, 12.55°)
OKLaboklab(58.28% 0.1713 0.0321)
OKLCHoklch(58.28% 0.174 10.6)
XYZxyz(29.0572, 17.6195, 13.4237)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4262 #42CCAC
analogous
#CC42A7 #CC4262 #CC6742
triadic
#CC4262 #62CC42 #4262CC
tetradic
#CC4262 #A7CC42 #42CCAC #6742CC
square
#CC4262 #A7CC42 #42CCAC #6742CC
split-complementary
#CC4262 #42CC67 #42A7CC
monochromatic
#741F33 #A42C48 #CC4262 #D9728A #E6A2B2

Accessibility & contrast

On white

4.64
#CC4262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CC4262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4262
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4262#FFFFFF#000000##FFFFFF
##CC42621.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636363
Deuteranopia (green-blind)
#877F5F
Tritanopia (blue-blind)
#DE284F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc4262;
/* rgb */ color: rgb(204, 66, 98);
/* oklch */ color: oklch(58.3% 0.174 10.6);
Tailwind
colors: {
  custom: {
    50: '#e17f8e',
    500: '#cc4262',
    950: '#000000',
  },
}
SCSS
$custom: #cc4262;
$custom-light: #e17f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4262",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 346.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.17429,
    "h": 10.6
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#CC4262
secondary
#97D3C5
accent
#E1BD47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D

Preview Lab

Preview with #CC4262

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

Preview Lab → · Contrast checker → · Palette generator →

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