#B4304E#B4304E

#B4304E is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.168 H 12.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B4304E
RGBrgb(180, 48, 78)
HSLhsl(346, 58%, 45%)
HSVhsv(346, 73%, 71%)
CMYKcmyk(0%, 73.3%, 56.7%, 29.4%)
CIE-LABlab(41.80, 54.36, 14.26)
CIE-LCHlch(41.80, 56.20, 14.70°)
OKLaboklab(51.96% 0.1642 0.0357)
OKLCHoklch(51.96% 0.168 12.3)
XYZxyz(21.2565, 12.3703, 8.4746)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4304E #30B496
analogous
#B43090 #B4304E #B45430
triadic
#B4304E #4EB430 #304EB4
tetradic
#B4304E #90B430 #30B496 #5430B4
square
#B4304E #90B430 #30B496 #5430B4
split-complementary
#B4304E #30B454 #3090B4
monochromatic
#531624 #842339 #B4304E #D1516E #DD8196

Accessibility & contrast

On white

6.05
#B4304E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B4304E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4304E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4304E#FFFFFF#000000##FFFFFF
##B4304E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514E
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#C50A3C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4304e;
/* rgb */ color: rgb(180, 48, 78);
/* oklch */ color: oklch(52.0% 0.168 12.3);
Tailwind
colors: {
  custom: {
    50: '#d1737f',
    500: '#b4304e',
    950: '#000000',
  },
}
SCSS
$custom: #b4304e;
$custom-light: #d1737f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4304e",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 346.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.16805,
    "h": 12.3
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#B4304E
secondary
#79C6B5
accent
#E1BE47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B4304E

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

Preview Lab → · Contrast checker → · Palette generator →

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