#B4284B#B4284B

#B4284B is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.2% C 0.175 H 12.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B4284B
RGBrgb(180, 40, 75)
HSLhsl(345, 64%, 43%)
HSVhsv(345, 78%, 71%)
CMYKcmyk(0%, 77.8%, 58.3%, 29.4%)
CIE-LABlab(40.79, 56.80, 14.77)
CIE-LCHlch(40.79, 58.68, 14.58°)
OKLaboklab(51.19% 0.1716 0.0367)
OKLCHoklch(51.19% 0.175 12.1)
XYZxyz(20.8533, 11.7319, 7.8217)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4284B #28B491
analogous
#B42891 #B4284B #B44B28
triadic
#B4284B #4BB428 #284BB4
tetradic
#B4284B #91B428 #28B491 #4B28B4
square
#B4284B #91B428 #28B491 #4B28B4
split-complementary
#B4284B #28B44B #2891B4
monochromatic
#501221 #821D36 #B4284B #D54468 #E17691

Accessibility & contrast

On white

6.28
#B4284B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B4284B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4284B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4284B#FFFFFF#000000##FFFFFF
##B4284B1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#736A47
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4284b;
/* rgb */ color: rgb(180, 40, 75);
/* oklch */ color: oklch(51.2% 0.175 12.1);
Tailwind
colors: {
  custom: {
    50: '#d16f7d',
    500: '#b4284b',
    950: '#000000',
  },
}
SCSS
$custom: #b4284b;
$custom-light: #d16f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4284b",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 345,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.17544,
    "h": 12.1
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#B4284B
secondary
#70C8B2
accent
#E7BD41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B4284B

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

Preview Lab → · Contrast checker → · Palette generator →

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