#CC2B70#CC2B70

#CC2B70 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.201 H 0.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC2B70
RGBrgb(204, 43, 112)
HSLhsl(334, 65%, 48%)
HSVhsv(334, 79%, 80%)
CMYKcmyk(0%, 78.9%, 45.1%, 20%)
CIE-LABlab(46.63, 65.46, 0.60)
CIE-LCHlch(46.63, 65.46, 0.52°)
OKLaboklab(56.63% 0.2011 0.0023)
OKLCHoklch(56.63% 0.201 0.6)
XYZxyz(28.6927, 15.7389, 16.8531)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B70 #2BCC87
analogous
#CC2BC0 #CC2B70 #CC372B
triadic
#CC2B70 #70CC2B #2B70CC
tetradic
#CC2B70 #C0CC2B #2BCC87 #372BCC
square
#CC2B70 #C0CC2B #2BCC87 #372BCC
split-complementary
#CC2B70 #2BCC37 #2BC0CC
monochromatic
#671638 #992054 #CC2B70 #DC5891 #E78BB2

Accessibility & contrast

On white

5.06
#CC2B70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CC2B70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B70
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B70#FFFFFF#000000##FFFFFF
##CC2B701.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#7D7A6C
Tritanopia (blue-blind)
#DE004A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2b70;
/* rgb */ color: rgb(204, 43, 112);
/* oklch */ color: oklch(56.6% 0.201 0.6);
Tailwind
colors: {
  custom: {
    50: '#e27598',
    500: '#cc2b70',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b70;
$custom-light: #e27598;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b70",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 334.286,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.20114,
    "h": 0.6
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#CC2B70
secondary
#82D0AF
accent
#E8A040
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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