#B4164B#B4164B

#B4164B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.189 H 9.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B4164B
RGBrgb(180, 22, 75)
HSLhsl(340, 78%, 40%)
HSVhsv(340, 88%, 71%)
CMYKcmyk(0%, 87.8%, 58.3%, 29.4%)
CIE-LABlab(39.22, 61.25, 12.63)
CIE-LCHlch(39.22, 62.54, 11.65°)
OKLaboklab(50.04% 0.186 0.0316)
OKLCHoklch(50.04% 0.189 9.7)
XYZxyz(20.3814, 10.7882, 7.6644)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4164B #16B47F
analogous
#B4169A #B4164B #B43016
triadic
#B4164B #4BB416 #164BB4
tetradic
#B4164B #9AB416 #16B47F #3016B4
square
#B4164B #9AB416 #16B47F #3016B4
split-complementary
#B4164B #16B430 #169AB4
monochromatic
#47091E #7D0F34 #B4164B #E42364 #EB5A8A

Accessibility & contrast

On white

6.65
#B4164B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B4164B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4164B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4164B#FFFFFF#000000##FFFFFF
##B4164B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484C
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#C50030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b4164b;
/* rgb */ color: rgb(180, 22, 75);
/* oklch */ color: oklch(50.0% 0.189 9.7);
Tailwind
colors: {
  custom: {
    50: '#d26a7c',
    500: '#b4164b',
    950: '#000000',
  },
}
SCSS
$custom: #b4164b;
$custom-light: #d26a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4164b",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 339.873,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.18865,
    "h": 9.7
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#B4164B
secondary
#58CEA6
accent
#F5B433
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B4164B

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

Preview Lab → · Contrast checker → · Palette generator →

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