#B5304A#B5304A

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

Color values

HEX#B5304A
RGBrgb(181, 48, 74)
HSLhsl(348, 58%, 45%)
HSVhsv(348, 73%, 71%)
CMYKcmyk(0%, 73.5%, 59.1%, 29%)
CIE-LABlab(41.90, 54.38, 16.93)
CIE-LCHlch(41.90, 56.95, 17.29°)
OKLaboklab(52.04% 0.1635 0.0418)
OKLCHoklch(52.04% 0.169 14.3)
XYZxyz(21.3511, 12.4351, 7.7532)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5304A #30B59B
analogous
#B5308C #B5304A #B55930
triadic
#B5304A #4AB530 #304AB5
tetradic
#B5304A #8CB530 #30B59B #5930B5
square
#B5304A #8CB530 #30B59B #5930B5
split-complementary
#B5304A #30B559 #308CB5
monochromatic
#541622 #852336 #B5304A #D1516A #DE8294

Accessibility & contrast

On white

6.02
#B5304A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B5304A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5304A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5304A#FFFFFF#000000##FFFFFF
##B5304A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#C6053B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5304a;
/* rgb */ color: rgb(181, 48, 74);
/* oklch */ color: oklch(52.0% 0.169 14.3);
Tailwind
colors: {
  custom: {
    50: '#d2737c',
    500: '#b5304a',
    950: '#000000',
  },
}
SCSS
$custom: #b5304a;
$custom-light: #d2737c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5304a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 348.271,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.16874,
    "h": 14.3
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#B5304A
secondary
#7AC7B8
accent
#E1C346
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5304A

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

Preview Lab → · Contrast checker → · Palette generator →

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