#B4276F#B4276F

#B4276F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 354.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B4276F
RGBrgb(180, 39, 111)
HSLhsl(329, 64%, 43%)
HSVhsv(329, 78%, 71%)
CMYKcmyk(0%, 78.3%, 38.3%, 29.4%)
CIE-LABlab(41.70, 60.24, -6.57)
CIE-LCHlch(41.70, 60.59, 353.78°)
OKLaboklab(52.19% 0.1852 -0.0166)
OKLCHoklch(52.19% 0.186 354.9)
XYZxyz(22.4187, 12.3049, 16.2304)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4276F #27B46C
analogous
#B327B4 #B4276F #B42728
triadic
#B4276F #6FB427 #276FB4
tetradic
#B4276F #B4B327 #27B46C #2728B4
square
#B4276F #B4B327 #27B46C #2728B4
split-complementary
#B4276F #28B427 #27B4B3
monochromatic
#4F1131 #821C50 #B4276F #D6428E #E174AC

Accessibility & contrast

On white

6.07
#B4276F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B4276F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4276F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4276F#FFFFFF#000000##FFFFFF
##B4276F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#C31348
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4276f;
/* rgb */ color: rgb(180, 39, 111);
/* oklch */ color: oklch(52.2% 0.186 354.9);
Tailwind
colors: {
  custom: {
    50: '#d07098',
    500: '#b4276f',
    950: '#000000',
  },
}
SCSS
$custom: #b4276f;
$custom-light: #d07098;
$custom-dark: #000000;
JSON
{
  "hex": "#b4276f",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 329.362,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.1859,
    "h": 354.9
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#B4276F
secondary
#6FC89A
accent
#E79240
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B4276F

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

Preview Lab → · Contrast checker → · Palette generator →

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