#B4154F#B4154F

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

Color values

HEX#B4154F
RGBrgb(180, 21, 79)
HSLhsl(338, 79%, 39%)
HSVhsv(338, 88%, 71%)
CMYKcmyk(0%, 88.3%, 56.1%, 29.4%)
CIE-LABlab(39.25, 61.71, 10.12)
CIE-LCHlch(39.25, 62.53, 9.31°)
OKLaboklab(50.1% 0.1881 0.0257)
OKLCHoklch(50.1% 0.19 7.8)
XYZxyz(20.5039, 10.8072, 8.4020)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4154F #15B47A
analogous
#B4159F #B4154F #B42B15
triadic
#B4154F #4FB415 #154FB4
tetradic
#B4154F #9FB415 #15B47A #2B15B4
square
#B4154F #9FB415 #15B47A #2B15B4
split-complementary
#B4154F #15B42B #159FB4
monochromatic
#46081F #7D0F37 #B4154F #E52169 #EC588E

Accessibility & contrast

On white

6.64
#B4154F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4154F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4154F#FFFFFF#000000##FFFFFF
##B4154F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4154f;
/* rgb */ color: rgb(180, 21, 79);
/* oklch */ color: oklch(50.1% 0.190 7.8);
Tailwind
colors: {
  custom: {
    50: '#d26a80',
    500: '#b4154f',
    950: '#000000',
  },
}
SCSS
$custom: #b4154f;
$custom-light: #d26a80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4154f",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 338.113,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.18986,
    "h": 7.8
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4154F

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

Preview Lab → · Contrast checker → · Palette generator →

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