#B4304F#B4304F

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

Color values

HEX#B4304F
RGBrgb(180, 48, 79)
HSLhsl(346, 58%, 45%)
HSVhsv(346, 73%, 71%)
CMYKcmyk(0%, 73.3%, 56.1%, 29.4%)
CIE-LABlab(41.82, 54.44, 13.67)
CIE-LCHlch(41.82, 56.13, 14.09°)
OKLaboklab(51.99% 0.1646 0.0343)
OKLCHoklch(51.99% 0.168 11.8)
XYZxyz(21.2926, 12.3847, 8.6649)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4304F #30B495
analogous
#B43091 #B4304F #B45330
triadic
#B4304F #4FB430 #304FB4
tetradic
#B4304F #91B430 #30B495 #5330B4
square
#B4304F #91B430 #30B495 #5330B4
split-complementary
#B4304F #30B453 #3091B4
monochromatic
#531625 #84233A #B4304F #D1516F #DD8197

Accessibility & contrast

On white

6.04
#B4304F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B4304F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4304F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4304F#FFFFFF#000000##FFFFFF
##B4304F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514F
Deuteranopia (green-blind)
#746C4C
Tritanopia (blue-blind)
#C50B3D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4304f;
/* rgb */ color: rgb(180, 48, 79);
/* oklch */ color: oklch(52.0% 0.168 11.8);
Tailwind
colors: {
  custom: {
    50: '#d17380',
    500: '#b4304f',
    950: '#000000',
  },
}
SCSS
$custom: #b4304f;
$custom-light: #d17380;
$custom-dark: #000000;
JSON
{
  "hex": "#b4304f",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 345.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.16814,
    "h": 11.8
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#B4304F
secondary
#79C6B4
accent
#E1BD47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B4304F

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

Preview Lab → · Contrast checker → · Palette generator →

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