#CB4178#CB4178

#CB4178 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.180 H 359.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CB4178
RGBrgb(203, 65, 120)
HSLhsl(336, 57%, 53%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 68%, 40.9%, 20.4%)
CIE-LABlab(49.30, 58.64, -0.41)
CIE-LCHlch(49.30, 58.64, 359.60°)
OKLaboklab(58.64% 0.1796 -0.0004)
OKLCHoklch(58.64% 0.18 359.9)
XYZxyz(29.9111, 17.8368, 19.6334)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4178 #41CB94
analogous
#CB41BD #CB4178 #CB4F41
triadic
#CB4178 #78CB41 #4178CB
tetradic
#CB4178 #BDCB41 #41CB94 #4F41CB
square
#CB4178 #BDCB41 #41CB94 #4F41CB
split-complementary
#CB4178 #41CB4F #41BDCB
monochromatic
#721F40 #A22C5B #CB4178 #D8719A #E5A1BC

Accessibility & contrast

On white

4.60
#CB4178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CB4178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4178
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4178#FFFFFF#000000##FFFFFF
##CB41781.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#DC3058
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4178;
/* rgb */ color: rgb(203, 65, 120);
/* oklch */ color: oklch(58.6% 0.180 359.9);
Tailwind
colors: {
  custom: {
    50: '#e07f9e',
    500: '#cb4178',
    950: '#000000',
  },
}
SCSS
$custom: #cb4178;
$custom-light: #e07f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4178",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 336.087,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58637,
    "c": 0.17958,
    "h": 359.9
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#CB4178
secondary
#96D2BA
accent
#E0A348
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4178

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

Preview Lab → · Contrast checker → · Palette generator →

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