#B04078#B04078

#B04078 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.3% C 0.157 H 352.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B04078
RGBrgb(176, 64, 120)
HSLhsl(330, 47%, 47%)
HSVhsv(330, 64%, 69%)
CMYKcmyk(0%, 63.6%, 31.8%, 31%)
CIE-LABlab(44.60, 50.97, -7.87)
CIE-LCHlch(44.60, 51.57, 351.22°)
OKLaboklab(54.29% 0.1553 -0.0202)
OKLCHoklch(54.29% 0.157 352.6)
XYZxyz(23.1292, 14.2554, 19.2992)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04078 #40B078
analogous
#B040B0 #B04078 #B04040
triadic
#B04078 #78B040 #4078B0
tetradic
#B04078 #B0B040 #40B078 #4040B0
square
#B04078 #B0B040 #40B078 #4040B0
split-complementary
#B04078 #40B040 #40B0B0
monochromatic
#561F3B #833059 #B04078 #C76697 #D893B5

Accessibility & contrast

On white

5.45
#B04078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B04078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04078
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04078#FFFFFF#000000##FFFFFF
##B040781.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#707175
Tritanopia (blue-blind)
#BD3957
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04078;
/* rgb */ color: rgb(176, 64, 120);
/* oklch */ color: oklch(54.3% 0.157 352.6);
Tailwind
colors: {
  custom: {
    50: '#cb7b9f',
    500: '#b04078',
    950: '#000000',
  },
}
SCSS
$custom: #b04078;
$custom-light: #cb7b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04078",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 330,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.15657,
    "h": 352.6
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#B04078
secondary
#89C3A6
accent
#D69451
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04078

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

Preview Lab → · Contrast checker → · Palette generator →

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