#B03178#B03178

#B03178 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.176 H 350.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B03178
RGBrgb(176, 49, 120)
HSLhsl(326, 56%, 44%)
HSVhsv(326, 72%, 69%)
CMYKcmyk(0%, 72.2%, 31.8%, 31%)
CIE-LABlab(42.44, 56.93, -11.11)
CIE-LCHlch(42.44, 58.00, 348.95°)
OKLaboklab(52.71% 0.1739 -0.0289)
OKLCHoklch(52.71% 0.176 350.6)
XYZxyz(22.3942, 12.7853, 19.0542)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03178 #31B069
analogous
#A931B0 #B03178 #B03139
triadic
#B03178 #78B031 #3178B0
tetradic
#B03178 #B0A931 #31B069 #3139B0
square
#B03178 #B0A931 #31B069 #3139B0
split-complementary
#B03178 #39B031 #31B0A9
monochromatic
#501637 #802457 #B03178 #CE5097 #DC80B3

Accessibility & contrast

On white

5.90
#B03178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B03178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03178
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03178#FFFFFF#000000##FFFFFF
##B031781.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567A
Deuteranopia (green-blind)
#6A6C75
Tritanopia (blue-blind)
#BD2950
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b03178;
/* rgb */ color: rgb(176, 49, 120);
/* oklch */ color: oklch(52.7% 0.176 350.6);
Tailwind
colors: {
  custom: {
    50: '#cc749f',
    500: '#b03178',
    950: '#000000',
  },
}
SCSS
$custom: #b03178;
$custom-light: #cc749f;
$custom-dark: #000000;
JSON
{
  "hex": "#b03178",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 326.457,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.17628,
    "h": 350.6
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#B03178
secondary
#78C59A
accent
#E08B48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B03178

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

Preview Lab → · Contrast checker → · Palette generator →

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