#CC4F7B#CC4F7B

#CC4F7B is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.163 H 1.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC4F7B
RGBrgb(204, 79, 123)
HSLhsl(339, 55%, 55%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61.3%, 39.7%, 20%)
CIE-LABlab(51.68, 53.46, 1.28)
CIE-LCHlch(51.68, 53.47, 1.37°)
OKLaboklab(60.47% 0.1632 0.004)
OKLCHoklch(60.47% 0.163 1.4)
XYZxyz(31.2750, 19.8629, 20.9220)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F7B #4FCCA0
analogous
#CC4FB9 #CC4F7B #CC614F
triadic
#CC4F7B #7BCC4F #4F7BCC
tetradic
#CC4F7B #B9CC4F #4FCCA0 #614FCC
square
#CC4F7B #B9CC4F #4FCCA0 #614FCC
split-complementary
#CC4F7B #4FCC61 #4FB9CC
monochromatic
#7D2443 #AC325D #CC4F7B #DA7E9F #E7AEC2

Accessibility & contrast

On white

4.22
#CC4F7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC4F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F7B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F7B#FFFFFF#000000##000000
##CC4F7B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DC4260
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4f7b;
/* rgb */ color: rgb(204, 79, 123);
/* oklch */ color: oklch(60.5% 0.163 1.4);
Tailwind
colors: {
  custom: {
    50: '#e086a1',
    500: '#cc4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f7b;
$custom-light: #e086a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f7b",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 338.88,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60466,
    "c": 0.16325,
    "h": 1.4
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#CC4F7B
secondary
#A1D5C3
accent
#DEAA49
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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