#B34178#B34178

#B34178 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.9% C 0.158 H 353.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B34178
RGBrgb(179, 65, 120)
HSLhsl(331, 47%, 48%)
HSVhsv(331, 64%, 70%)
CMYKcmyk(0%, 63.7%, 33%, 29.8%)
CIE-LABlab(45.25, 51.45, -6.84)
CIE-LCHlch(45.25, 51.90, 352.43°)
OKLaboklab(54.87% 0.1569 -0.0174)
OKLCHoklch(54.87% 0.158 353.7)
XYZxyz(23.8721, 14.7229, 19.3503)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34178 #41B37C
analogous
#B341B1 #B34178 #B34341
triadic
#B34178 #78B341 #4178B3
tetradic
#B34178 #B1B341 #41B37C #4341B3
square
#B34178 #B1B341 #41B37C #4341B3
split-complementary
#B34178 #41B343 #41B1B3
monochromatic
#59203C #86315A #B34178 #C86997 #D996B6

Accessibility & contrast

On white

5.32
#B34178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B34178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34178
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34178#FFFFFF#000000##FFFFFF
##B341781.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#727375
Tritanopia (blue-blind)
#C03957
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b34178;
/* rgb */ color: rgb(179, 65, 120);
/* oklch */ color: oklch(54.9% 0.158 353.7);
Tailwind
colors: {
  custom: {
    50: '#cd7c9f',
    500: '#b34178',
    950: '#000000',
  },
}
SCSS
$custom: #b34178;
$custom-light: #cd7c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b34178",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 331.053,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.15786,
    "h": 353.7
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#B34178
secondary
#8BC4A9
accent
#D69651
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B34178

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

Preview Lab → · Contrast checker → · Palette generator →

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