#B4154E#B4154E

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

Color values

HEX#B4154E
RGBrgb(180, 21, 78)
HSLhsl(338, 79%, 39%)
HSVhsv(338, 88%, 71%)
CMYKcmyk(0%, 88.3%, 56.7%, 29.4%)
CIE-LABlab(39.23, 61.64, 10.72)
CIE-LCHlch(39.23, 62.56, 9.87°)
OKLaboklab(50.07% 0.1877 0.0272)
OKLCHoklch(50.07% 0.19 8.2)
XYZxyz(20.4678, 10.7928, 8.2117)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4154E #15B47B
analogous
#B4159D #B4154E #B42C15
triadic
#B4154E #4EB415 #154EB4
tetradic
#B4154E #9DB415 #15B47B #2C15B4
square
#B4154E #9DB415 #15B47B #2C15B4
split-complementary
#B4154E #15B42C #159DB4
monochromatic
#46081F #7D0F36 #B4154E #E52167 #EC588D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4154E#FFFFFF#000000##FFFFFF
##B4154E1.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)
#46494F
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b4154e;
/* rgb */ color: rgb(180, 21, 78);
/* oklch */ color: oklch(50.1% 0.190 8.2);
Tailwind
colors: {
  custom: {
    50: '#d26a7f',
    500: '#b4154e',
    950: '#000000',
  },
}
SCSS
$custom: #b4154e;
$custom-light: #d26a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4154e",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 338.491,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.18968,
    "h": 8.2
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#B4154E
secondary
#56CFA3
accent
#F6B032
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B4154E

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

Preview Lab → · Contrast checker → · Palette generator →

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