#B42846#B42846

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

Color values

HEX#B42846
RGBrgb(180, 40, 70)
HSLhsl(347, 64%, 43%)
HSVhsv(347, 78%, 71%)
CMYKcmyk(0%, 77.8%, 61.1%, 29.4%)
CIE-LABlab(40.68, 56.46, 17.77)
CIE-LCHlch(40.68, 59.19, 17.48°)
OKLaboklab(51.08% 0.1696 0.0435)
OKLCHoklch(51.08% 0.175 14.4)
XYZxyz(20.6888, 11.6662, 6.9556)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42846 #28B496
analogous
#B4288C #B42846 #B45028
triadic
#B42846 #46B428 #2846B4
tetradic
#B42846 #8CB428 #28B496 #5028B4
square
#B42846 #8CB428 #28B496 #5028B4
split-complementary
#B42846 #28B450 #288CB4
monochromatic
#50121F #821D33 #B42846 #D54463 #E1768D

Accessibility & contrast

On white

6.30
#B42846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B42846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42846
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42846#FFFFFF#000000##FFFFFF
##B428461.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D46
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#C50035
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42846;
/* rgb */ color: rgb(180, 40, 70);
/* oklch */ color: oklch(51.1% 0.175 14.4);
Tailwind
colors: {
  custom: {
    50: '#d26f79',
    500: '#b42846',
    950: '#000000',
  },
}
SCSS
$custom: #b42846;
$custom-light: #d26f79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42846",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 347.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.17507,
    "h": 14.4
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#B42846
secondary
#70C8B5
accent
#E7C341
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42846

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

Preview Lab → · Contrast checker → · Palette generator →

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