#B4167E#B4167E

#B4167E is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 347.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B4167E
RGBrgb(180, 22, 126)
HSLhsl(321, 78%, 40%)
HSVhsv(321, 88%, 71%)
CMYKcmyk(0%, 87.8%, 30%, 29.4%)
CIE-LABlab(40.87, 65.87, -17.14)
CIE-LCHlch(40.87, 68.06, 345.42°)
OKLaboklab(51.78% 0.2015 -0.0453)
OKLCHoklch(51.78% 0.206 347.3)
XYZxyz(22.8764, 11.7862, 20.8049)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4167E #16B44C
analogous
#9B16B4 #B4167E #B4162F
triadic
#B4167E #7EB416 #167EB4
tetradic
#B4167E #B49B16 #16B44C #162FB4
square
#B4167E #B49B16 #16B44C #162FB4
split-complementary
#B4167E #2FB416 #16B49B
monochromatic
#470932 #7D0F58 #B4167E #E423A2 #EB5AB9

Accessibility & contrast

On white

6.26
#B4167E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B4167E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4167E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4167E#FFFFFF#000000##FFFFFF
##B4167E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#C1084B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4167e;
/* rgb */ color: rgb(180, 22, 126);
/* oklch */ color: oklch(51.8% 0.206 347.3);
Tailwind
colors: {
  custom: {
    50: '#cf6ca3',
    500: '#b4167e',
    950: '#000000',
  },
}
SCSS
$custom: #b4167e;
$custom-light: #cf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4167e",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 320.506,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.20648,
    "h": 347.3
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#B4167E
secondary
#58CE80
accent
#F57533
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4167E

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

Preview Lab → · Contrast checker → · Palette generator →

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