#B45178#B45178

#B45178 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.1% C 0.135 H 357.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B45178
RGBrgb(180, 81, 120)
HSLhsl(336, 40%, 51%)
HSVhsv(336, 55%, 71%)
CMYKcmyk(0%, 55%, 33.3%, 29.4%)
CIE-LABlab(48.19, 44.33, -2.46)
CIE-LCHlch(48.19, 44.40, 356.82°)
OKLaboklab(57.1% 0.1348 -0.0059)
OKLCHoklch(57.1% 0.135 357.5)
XYZxyz(25.1562, 16.9467, 19.7118)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45178 #51B48D
analogous
#B451A9 #B45178 #B45B51
triadic
#B45178 #78B451 #5178B4
tetradic
#B45178 #A9B451 #51B48D #5B51B4
square
#B45178 #A9B451 #51B48D #5B51B4
split-complementary
#B45178 #51B45B #51A9B4
monochromatic
#612A3F #8C3C5B #B45178 #C67C99 #D9A7BA

Accessibility & contrast

On white

4.78
#B45178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B45178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B45178
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45178#FFFFFF#000000##FFFFFF
##B451781.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#7A7976
Tritanopia (blue-blind)
#C14A60
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b45178;
/* rgb */ color: rgb(180, 81, 120);
/* oklch */ color: oklch(57.1% 0.135 357.5);
Tailwind
colors: {
  custom: {
    50: '#ce869e',
    500: '#b45178',
    950: '#000000',
  },
}
SCSS
$custom: #b45178;
$custom-light: #ce869e;
$custom-dark: #000000;
JSON
{
  "hex": "#b45178",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 336.364,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.13496,
    "h": 357.5
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#B45178
secondary
#9BC6B5
accent
#D0A158
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B45178

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

Preview Lab → · Contrast checker → · Palette generator →

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