#B5304F#B5304F

#B5304F is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.169 H 11.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B5304F
RGBrgb(181, 48, 79)
HSLhsl(346, 58%, 45%)
HSVhsv(346, 73%, 71%)
CMYKcmyk(0%, 73.5%, 56.4%, 29%)
CIE-LABlab(42.01, 54.74, 13.95)
CIE-LCHlch(42.01, 56.49, 14.30°)
OKLaboklab(52.16% 0.1655 0.035)
OKLCHoklch(52.16% 0.169 11.9)
XYZxyz(21.5263, 12.5052, 8.6759)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5304F #30B596
analogous
#B53092 #B5304F #B55330
triadic
#B5304F #4FB530 #304FB5
tetradic
#B5304F #92B530 #30B596 #5330B5
square
#B5304F #92B530 #30B596 #5330B5
split-complementary
#B5304F #30B553 #3092B5
monochromatic
#541625 #85233A #B5304F #D1516F #DE8297

Accessibility & contrast

On white

6.00
#B5304F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B5304F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5304F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5304F#FFFFFF#000000##FFFFFF
##B5304F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53524F
Deuteranopia (green-blind)
#756D4C
Tritanopia (blue-blind)
#C6093D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5304f;
/* rgb */ color: rgb(181, 48, 79);
/* oklch */ color: oklch(52.2% 0.169 11.9);
Tailwind
colors: {
  custom: {
    50: '#d27380',
    500: '#b5304f',
    950: '#000000',
  },
}
SCSS
$custom: #b5304f;
$custom-light: #d27380;
$custom-dark: #000000;
JSON
{
  "hex": "#b5304f",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 346.015,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.16911,
    "h": 11.9
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#B5304F
secondary
#7AC7B5
accent
#E1BD46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B5304F

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

Preview Lab → · Contrast checker → · Palette generator →

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