#CC2F70#CC2F70

#CC2F70 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.198 H 1.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC2F70
RGBrgb(204, 47, 112)
HSLhsl(335, 63%, 49%)
HSVhsv(335, 77%, 80%)
CMYKcmyk(0%, 77%, 45.1%, 20%)
CIE-LABlab(47.03, 64.32, 1.19)
CIE-LCHlch(47.03, 64.33, 1.06°)
OKLaboklab(56.92% 0.1975 0.0038)
OKLCHoklch(56.92% 0.198 1.1)
XYZxyz(28.8453, 16.0441, 16.9040)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2F70 #2FCC8B
analogous
#CC2FBF #CC2F70 #CC3C2F
triadic
#CC2F70 #70CC2F #2F70CC
tetradic
#CC2F70 #BFCC2F #2FCC8B #3C2FCC
square
#CC2F70 #BFCC2F #2FCC8B #3C2FCC
split-complementary
#CC2F70 #2FCC3C #2FBFCC
monochromatic
#691839 #9A2455 #CC2F70 #DA5E91 #E590B3

Accessibility & contrast

On white

4.99
#CC2F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CC2F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2F70
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2F70#FFFFFF#000000##FFFFFF
##CC2F701.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#7E7A6C
Tritanopia (blue-blind)
#DE0A4C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2f70;
/* rgb */ color: rgb(204, 47, 112);
/* oklch */ color: oklch(56.9% 0.198 1.1);
Tailwind
colors: {
  custom: {
    50: '#e17798',
    500: '#cc2f70',
    950: '#000000',
  },
}
SCSS
$custom: #cc2f70;
$custom-light: #e17798;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2f70",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 335.159,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.1975,
    "h": 1.1
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#CC2F70
secondary
#87D0B2
accent
#E6A242
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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