#CC2B6F#CC2B6F

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

Color values

HEX#CC2B6F
RGBrgb(204, 43, 111)
HSLhsl(335, 65%, 48%)
HSVhsv(335, 79%, 80%)
CMYKcmyk(0%, 78.9%, 45.6%, 20%)
CIE-LABlab(46.60, 65.37, 1.17)
CIE-LCHlch(46.60, 65.38, 1.03°)
OKLaboklab(56.6% 0.2008 0.0037)
OKLCHoklch(56.6% 0.201 1.1)
XYZxyz(28.6373, 15.7167, 16.5615)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B6F #2BCC88
analogous
#CC2BBF #CC2B6F #CC372B
triadic
#CC2B6F #6FCC2B #2B6FCC
tetradic
#CC2B6F #BFCC2B #2BCC88 #372BCC
square
#CC2B6F #BFCC2B #2BCC88 #372BCC
split-complementary
#CC2B6F #2BCC37 #2BBFCC
monochromatic
#671638 #992053 #CC2B6F #DC5890 #E78BB2

Accessibility & contrast

On white

5.07
#CC2B6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CC2B6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B6F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B6F#FFFFFF#000000##FFFFFF
##CC2B6F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc2b6f;
/* rgb */ color: rgb(204, 43, 111);
/* oklch */ color: oklch(56.6% 0.201 1.1);
Tailwind
colors: {
  custom: {
    50: '#e27598',
    500: '#cc2b6f',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b6f;
$custom-light: #e27598;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b6f",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 334.658,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.20083,
    "h": 1.1
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#CC2B6F
secondary
#82D0AF
accent
#E8A140
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CC2B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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