#CC4F8B#CC4F8B

#CC4F8B is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.170 H 353.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC4F8B
RGBrgb(204, 79, 139)
HSLhsl(331, 55%, 55%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 61.3%, 31.9%, 20%)
CIE-LABlab(52.17, 55.29, -7.54)
CIE-LCHlch(52.17, 55.80, 352.23°)
OKLaboklab(60.99% 0.1684 -0.0193)
OKLCHoklch(60.99% 0.17 353.5)
XYZxyz(32.3596, 20.2968, 26.6346)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F8B #4FCC90
analogous
#CC4FC9 #CC4F8B #CC514F
triadic
#CC4F8B #8BCC4F #4F8BCC
tetradic
#CC4F8B #C9CC4F #4FCC90 #514FCC
square
#CC4F8B #C9CC4F #4FCC90 #514FCC
split-complementary
#CC4F8B #4FCC51 #4FC9CC
monochromatic
#7D244F #AC326C #CC4F8B #DA7EAA #E7AECA

Accessibility & contrast

On white

4.15
#CC4F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC4F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F8B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F8B#FFFFFF#000000##000000
##CC4F8B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DB4767
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4f8b;
/* rgb */ color: rgb(204, 79, 139);
/* oklch */ color: oklch(61.0% 0.170 353.5);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cc4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f8b;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f8b",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 331.2,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.1695,
    "h": 353.5
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#CC4F8B
secondary
#A1D5BC
accent
#DE9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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