#B4274F#B4274F

#B4274F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.177 H 10.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B4274F
RGBrgb(180, 39, 79)
HSLhsl(343, 64%, 43%)
HSVhsv(343, 78%, 71%)
CMYKcmyk(0%, 78.3%, 56.1%, 29.4%)
CIE-LABlab(40.77, 57.38, 12.22)
CIE-LCHlch(40.77, 58.67, 12.02°)
OKLaboklab(51.21% 0.1741 0.0308)
OKLCHoklch(51.21% 0.177 10)
XYZxyz(20.9612, 11.7219, 8.5544)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4274F #27B48C
analogous
#B42795 #B4274F #B44627
triadic
#B4274F #4FB427 #274FB4
tetradic
#B4274F #95B427 #27B48C #4627B4
square
#B4274F #95B427 #27B48C #4627B4
split-complementary
#B4274F #27B446 #2795B4
monochromatic
#4F1123 #821C39 #B4274F #D6426C #E17493

Accessibility & contrast

On white

6.28
#B4274F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B4274F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4274F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4274F#FFFFFF#000000##FFFFFF
##B4274F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E50
Deuteranopia (green-blind)
#726A4B
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4274f;
/* rgb */ color: rgb(180, 39, 79);
/* oklch */ color: oklch(51.2% 0.177 10.0);
Tailwind
colors: {
  custom: {
    50: '#d16f80',
    500: '#b4274f',
    950: '#000000',
  },
}
SCSS
$custom: #b4274f;
$custom-light: #d16f80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4274f",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 342.979,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.1768,
    "h": 10
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#B4274F
secondary
#6FC8AF
accent
#E7B840
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B4274F

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

Preview Lab → · Contrast checker → · Palette generator →

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