#B4164F#B4164F

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

Color values

HEX#B4164F
RGBrgb(180, 22, 79)
HSLhsl(338, 78%, 40%)
HSVhsv(338, 88%, 71%)
CMYKcmyk(0%, 87.8%, 56.1%, 29.4%)
CIE-LABlab(39.32, 61.52, 10.21)
CIE-LCHlch(39.32, 62.37, 9.42°)
OKLaboklab(50.14% 0.1875 0.0259)
OKLCHoklch(50.14% 0.189 7.9)
XYZxyz(20.5226, 10.8447, 8.4082)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4164F #16B47B
analogous
#B4169E #B4164F #B42C16
triadic
#B4164F #4FB416 #164FB4
tetradic
#B4164F #9EB416 #16B47B #2C16B4
square
#B4164F #9EB416 #16B47B #2C16B4
split-complementary
#B4164F #16B42C #169EB4
monochromatic
#47091F #7D0F37 #B4164F #E42369 #EB5A8E

Accessibility & contrast

On white

6.63
#B4164F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B4164F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4164F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4164F#FFFFFF#000000##FFFFFF
##B4164F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464950
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4164f;
/* rgb */ color: rgb(180, 22, 79);
/* oklch */ color: oklch(50.1% 0.189 7.9);
Tailwind
colors: {
  custom: {
    50: '#d26a80',
    500: '#b4164f',
    950: '#000000',
  },
}
SCSS
$custom: #b4164f;
$custom-light: #d26a80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4164f",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 338.354,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50142,
    "c": 0.1893,
    "h": 7.9
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#B4164F
secondary
#58CEA3
accent
#F5AF33
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B4164F

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

Preview Lab → · Contrast checker → · Palette generator →

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