#B5284A#B5284A

#B5284A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 12.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B5284A
RGBrgb(181, 40, 74)
HSLhsl(346, 64%, 43%)
HSVhsv(346, 78%, 71%)
CMYKcmyk(0%, 77.9%, 59.1%, 29%)
CIE-LABlab(40.96, 57.01, 15.66)
CIE-LCHlch(40.96, 59.13, 15.36°)
OKLaboklab(51.35% 0.172 0.0388)
OKLCHoklch(51.35% 0.176 12.7)
XYZxyz(21.0530, 11.8388, 7.6538)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5284A #28B593
analogous
#B52890 #B5284A #B54C28
triadic
#B5284A #4AB528 #284AB5
tetradic
#B5284A #90B528 #28B593 #4C28B5
square
#B5284A #90B528 #28B593 #4C28B5
split-complementary
#B5284A #28B54C #2890B5
monochromatic
#511221 #831D36 #B5284A #D64467 #E17790

Accessibility & contrast

On white

6.24
#B5284A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B5284A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5284A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5284A#FFFFFF#000000##FFFFFF
##B5284A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5284a;
/* rgb */ color: rgb(181, 40, 74);
/* oklch */ color: oklch(51.3% 0.176 12.7);
Tailwind
colors: {
  custom: {
    50: '#d2707c',
    500: '#b5284a',
    950: '#000000',
  },
}
SCSS
$custom: #b5284a;
$custom-light: #d2707c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5284a",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 345.532,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.17628,
    "h": 12.7
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#B5284A
secondary
#70C8B3
accent
#E7BF41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5284A

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

Preview Lab → · Contrast checker → · Palette generator →

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