#B42848#B42848

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

Color values

HEX#B42848
RGBrgb(180, 40, 72)
HSLhsl(346, 64%, 43%)
HSVhsv(346, 78%, 71%)
CMYKcmyk(0%, 77.8%, 60%, 29.4%)
CIE-LABlab(40.72, 56.59, 16.57)
CIE-LCHlch(40.72, 58.97, 16.32°)
OKLaboklab(51.12% 0.1704 0.0408)
OKLCHoklch(51.12% 0.175 13.5)
XYZxyz(20.7530, 11.6918, 7.2936)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42848 #28B494
analogous
#B4288E #B42848 #B44E28
triadic
#B42848 #48B428 #2848B4
tetradic
#B42848 #8EB428 #28B494 #4E28B4
square
#B42848 #8EB428 #28B494 #4E28B4
split-complementary
#B42848 #28B44E #288EB4
monochromatic
#501220 #821D34 #B42848 #D54465 #E1768E

Accessibility & contrast

On white

6.29
#B42848 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B42848 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42848
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42848#FFFFFF#000000##FFFFFF
##B428481.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E48
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42848;
/* rgb */ color: rgb(180, 40, 72);
/* oklch */ color: oklch(51.1% 0.175 13.5);
Tailwind
colors: {
  custom: {
    50: '#d26f7a',
    500: '#b42848',
    950: '#000000',
  },
}
SCSS
$custom: #b42848;
$custom-light: #d26f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42848",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 346.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.17519,
    "h": 13.5
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#B42848
secondary
#70C8B4
accent
#E7C141
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42848

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

Preview Lab → · Contrast checker → · Palette generator →

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