#B4167F#B4167F

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

Color values

HEX#B4167F
RGBrgb(180, 22, 127)
HSLhsl(320, 78%, 40%)
HSVhsv(320, 88%, 71%)
CMYKcmyk(0%, 87.8%, 29.4%, 29.4%)
CIE-LABlab(40.92, 65.98, -17.69)
CIE-LCHlch(40.92, 68.31, 344.99°)
OKLaboklab(51.83% 0.2016 -0.0468)
OKLCHoklch(51.83% 0.207 346.9)
XYZxyz(22.9413, 11.8122, 21.1464)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4167F #16B44B
analogous
#9A16B4 #B4167F #B41630
triadic
#B4167F #7FB416 #167FB4
tetradic
#B4167F #B49A16 #16B44B #1630B4
square
#B4167F #B49A16 #16B44B #1630B4
split-complementary
#B4167F #30B416 #16B49A
monochromatic
#470932 #7D0F59 #B4167F #E423A3 #EB5ABA

Accessibility & contrast

On white

6.25
#B4167F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4167F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4167F#FFFFFF#000000##FFFFFF
##B4167F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#C10A4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4167f;
/* rgb */ color: rgb(180, 22, 127);
/* oklch */ color: oklch(51.8% 0.207 346.9);
Tailwind
colors: {
  custom: {
    50: '#cf6ca4',
    500: '#b4167f',
    950: '#000000',
  },
}
SCSS
$custom: #b4167f;
$custom-light: #cf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4167f",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 320.127,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.207,
    "h": 346.9
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#B4167F
secondary
#58CE7F
accent
#F57433
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4167F

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

Preview Lab → · Contrast checker → · Palette generator →

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