#CB4780#CB4780

#CB4780 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.175 H 357.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB4780
RGBrgb(203, 71, 128)
HSLhsl(334, 56%, 54%)
HSVhsv(334, 65%, 80%)
CMYKcmyk(0%, 65%, 36.9%, 20.4%)
CIE-LABlab(50.41, 57.10, -3.60)
CIE-LCHlch(50.41, 57.22, 356.39°)
OKLaboklab(59.54% 0.1746 -0.0087)
OKLCHoklch(59.54% 0.175 357.1)
XYZxyz(30.7800, 18.7650, 22.4190)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4780 #47CB92
analogous
#CB47C2 #CB4780 #CB5047
triadic
#CB4780 #80CB47 #4780CB
tetradic
#CB4780 #C2CB47 #47CB92 #5047CB
square
#CB4780 #C2CB47 #47CB92 #5047CB
split-complementary
#CB4780 #47CB50 #47C2CB
monochromatic
#762146 #A62F62 #CB4780 #D877A1 #E6A6C2

Accessibility & contrast

On white

4.42
#CB4780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CB4780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4780
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4780#FFFFFF#000000##000000
##CB47801.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6882
Deuteranopia (green-blind)
#82817D
Tritanopia (blue-blind)
#DB3B5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4780;
/* rgb */ color: rgb(203, 71, 128);
/* oklch */ color: oklch(59.5% 0.175 357.1);
Tailwind
colors: {
  custom: {
    50: '#df82a4',
    500: '#cb4780',
    950: '#000000',
  },
}
SCSS
$custom: #cb4780;
$custom-light: #df82a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4780",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 334.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.17485,
    "h": 357.1
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#CB4780
secondary
#9BD3BB
accent
#DF9E49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB4780

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

Preview Lab → · Contrast checker → · Palette generator →

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