#B4276C#B4276C

#B4276C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.185 H 356.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B4276C
RGBrgb(180, 39, 108)
HSLhsl(331, 64%, 43%)
HSVhsv(331, 78%, 71%)
CMYKcmyk(0%, 78.3%, 40%, 29.4%)
CIE-LABlab(41.59, 59.93, -4.85)
CIE-LCHlch(41.59, 60.12, 355.38°)
OKLaboklab(52.09% 0.1843 -0.012)
OKLCHoklch(52.09% 0.185 356.3)
XYZxyz(22.2563, 12.2399, 15.3750)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4276C #27B46F
analogous
#B427B3 #B4276C #B42827
triadic
#B4276C #6CB427 #276CB4
tetradic
#B4276C #B3B427 #27B46F #2827B4
square
#B4276C #B3B427 #27B46F #2827B4
split-complementary
#B4276C #27B428 #27B3B4
monochromatic
#4F1130 #821C4E #B4276C #D6428B #E174AA

Accessibility & contrast

On white

6.09
#B4276C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B4276C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4276C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4276C#FFFFFF#000000##FFFFFF
##B4276C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#6C6C69
Tritanopia (blue-blind)
#C31046
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4276c;
/* rgb */ color: rgb(180, 39, 108);
/* oklch */ color: oklch(52.1% 0.185 356.3);
Tailwind
colors: {
  custom: {
    50: '#d07096',
    500: '#b4276c',
    950: '#000000',
  },
}
SCSS
$custom: #b4276c;
$custom-light: #d07096;
$custom-dark: #000000;
JSON
{
  "hex": "#b4276c",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 330.638,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.18467,
    "h": 356.3
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#B4276C
secondary
#6FC89C
accent
#E79640
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B4276C

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

Preview Lab → · Contrast checker → · Palette generator →

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