#B34078#B34078

#B34078 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.159 H 353.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B34078
RGBrgb(179, 64, 120)
HSLhsl(331, 47%, 48%)
HSVhsv(331, 64%, 70%)
CMYKcmyk(0%, 64.2%, 33%, 29.8%)
CIE-LABlab(45.09, 51.88, -7.07)
CIE-LCHlch(45.09, 52.36, 352.24°)
OKLaboklab(54.76% 0.1582 -0.0181)
OKLCHoklch(54.76% 0.159 353.5)
XYZxyz(23.8152, 14.6091, 19.3313)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34078 #40B37B
analogous
#B340B1 #B34078 #B34240
triadic
#B34078 #78B340 #4078B3
tetradic
#B34078 #B1B340 #40B37B #4240B3
square
#B34078 #B1B340 #40B37B #4240B3
split-complementary
#B34078 #40B342 #40B1B3
monochromatic
#59203C #86305A #B34078 #C96797 #D994B6

Accessibility & contrast

On white

5.36
#B34078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B34078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34078
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34078#FFFFFF#000000##FFFFFF
##B340781.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D7A
Deuteranopia (green-blind)
#727275
Tritanopia (blue-blind)
#C03857
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b34078;
/* rgb */ color: rgb(179, 64, 120);
/* oklch */ color: oklch(54.8% 0.159 353.5);
Tailwind
colors: {
  custom: {
    50: '#ce7c9f',
    500: '#b34078',
    950: '#000000',
  },
}
SCSS
$custom: #b34078;
$custom-light: #ce7c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b34078",
  "rgb": {
    "r": 179,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 330.783,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.15927,
    "h": 353.5
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#B34078
secondary
#8AC4A8
accent
#D79651
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B34078

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

Preview Lab → · Contrast checker → · Palette generator →

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