#CC526C#CC526C

#CC526C is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.4% C 0.156 H 10.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC526C
RGBrgb(204, 82, 108)
HSLhsl(347, 54%, 56%)
HSVhsv(347, 60%, 80%)
CMYKcmyk(0%, 59.8%, 47.1%, 20%)
CIE-LABlab(51.79, 50.59, 10.42)
CIE-LCHlch(51.79, 51.65, 11.63°)
OKLaboklab(60.42% 0.1535 0.0269)
OKLCHoklch(60.42% 0.156 10)
XYZxyz(30.6282, 19.9583, 16.4239)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC526C #52CCB2
analogous
#CC52A9 #CC526C #CC7552
triadic
#CC526C #6CCC52 #526CCC
tetradic
#CC526C #A9CC52 #52CCB2 #7552CC
square
#CC526C #A9CC52 #52CCB2 #7552CC
split-complementary
#CC526C #52CC75 #52A9CC
monochromatic
#7E2538 #AE334D #CC526C #DA8194 #E8B1BC

Accessibility & contrast

On white

4.21
#CC526C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC526C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC526C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC526C#FFFFFF#000000##000000
##CC526C1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6C6C
Deuteranopia (green-blind)
#8C8569
Tritanopia (blue-blind)
#DD415C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc526c;
/* rgb */ color: rgb(204, 82, 108);
/* oklch */ color: oklch(60.4% 0.156 10.0);
Tailwind
colors: {
  custom: {
    50: '#e08895',
    500: '#cc526c',
    950: '#000000',
  },
}
SCSS
$custom: #cc526c;
$custom-light: #e08895;
$custom-dark: #000000;
JSON
{
  "hex": "#cc526c",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 108
  },
  "hsl": {
    "h": 347.213,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.15585,
    "h": 10
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#CC526C
secondary
#A4D6CB
accent
#DEBE4A
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CC526C

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

Preview Lab → · Contrast checker → · Palette generator →

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