#B5303B#B5303B

#B5303B is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.7% C 0.169 H 21.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B5303B
RGBrgb(181, 48, 59)
HSLhsl(355, 58%, 45%)
HSVhsv(355, 73%, 71%)
CMYKcmyk(0%, 73.5%, 67.4%, 29%)
CIE-LABlab(41.62, 53.45, 25.86)
CIE-LCHlch(41.62, 59.37, 25.82°)
OKLaboklab(51.75% 0.1576 0.0608)
OKLCHoklch(51.75% 0.169 21.1)
XYZxyz(20.9047, 12.2565, 5.4018)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5303B #30B5AA
analogous
#B5307D #B5303B #B56830
triadic
#B5303B #3BB530 #303BB5
tetradic
#B5303B #7DB530 #30B5AA #6830B5
square
#B5303B #7DB530 #30B5AA #6830B5
split-complementary
#B5303B #30B568 #307DB5
monochromatic
#54161B #85232B #B5303B #D1515C #DE8289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5303B#FFFFFF#000000##FFFFFF
##B5303B1.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)
#56503A
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#C70035
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5303b;
/* rgb */ color: rgb(181, 48, 59);
/* oklch */ color: oklch(51.7% 0.169 21.1);
Tailwind
colors: {
  custom: {
    50: '#d37371',
    500: '#b5303b',
    950: '#000000',
  },
}
SCSS
$custom: #b5303b;
$custom-light: #d37371;
$custom-dark: #000000;
JSON
{
  "hex": "#b5303b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 59
  },
  "hsl": {
    "h": 355.038,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.16891,
    "h": 21.1
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#B5303B
secondary
#7AC7C0
accent
#E1D446
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B5303B

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

Preview Lab → · Contrast checker → · Palette generator →

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