#B45478#B45478

#B45478 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.5% C 0.130 H 358.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B45478
RGBrgb(180, 84, 120)
HSLhsl(338, 39%, 52%)
HSVhsv(338, 53%, 71%)
CMYKcmyk(0%, 53.3%, 33.3%, 29.4%)
CIE-LABlab(48.76, 42.84, -1.63)
CIE-LCHlch(48.76, 42.87, 357.83°)
OKLaboklab(57.52% 0.1302 -0.0037)
OKLCHoklch(57.52% 0.13 358.4)
XYZxyz(25.3841, 17.4024, 19.7878)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45478 #54B490
analogous
#B454A8 #B45478 #B46054
triadic
#B45478 #78B454 #5478B4
tetradic
#B45478 #A8B454 #54B490 #6054B4
square
#B45478 #A8B454 #54B490 #6054B4
split-complementary
#B45478 #54B460 #54A8B4
monochromatic
#622B40 #8D3E5C #B45478 #C77F9A #D9A9BB

Accessibility & contrast

On white

4.69
#B45478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B45478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B45478
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45478#FFFFFF#000000##FFFFFF
##B454781.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#C14D61
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b45478;
/* rgb */ color: rgb(180, 84, 120);
/* oklch */ color: oklch(57.5% 0.130 358.4);
Tailwind
colors: {
  custom: {
    50: '#cd879e',
    500: '#b45478',
    950: '#000000',
  },
}
SCSS
$custom: #b45478;
$custom-light: #cd879e;
$custom-dark: #000000;
JSON
{
  "hex": "#b45478",
  "rgb": {
    "r": 180,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 337.5,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.13027,
    "h": 358.4
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#B45478
secondary
#9DC7B7
accent
#CFA359
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #B45478

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

Preview Lab → · Contrast checker → · Palette generator →

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