#B42946#B42946

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

Color values

HEX#B42946
RGBrgb(180, 41, 70)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 77%, 71%)
CMYKcmyk(0%, 77.2%, 61.1%, 29.4%)
CIE-LABlab(40.79, 56.15, 17.92)
CIE-LCHlch(40.79, 58.94, 17.70°)
OKLaboklab(51.16% 0.1686 0.0438)
OKLCHoklch(51.16% 0.174 14.6)
XYZxyz(20.7230, 11.7344, 6.9670)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42946 #29B497
analogous
#B4298B #B42946 #B45129
triadic
#B42946 #46B429 #2946B4
tetradic
#B42946 #8BB429 #29B497 #5129B4
square
#B42946 #8BB429 #29B497 #5129B4
split-complementary
#B42946 #29B451 #298BB4
monochromatic
#50121F #821E33 #B42946 #D54563 #E0778D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42946#FFFFFF#000000##FFFFFF
##B429461.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)
#504E46
Deuteranopia (green-blind)
#736B42
Tritanopia (blue-blind)
#C50035
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42946;
/* rgb */ color: rgb(180, 41, 70);
/* oklch */ color: oklch(51.2% 0.174 14.6);
Tailwind
colors: {
  custom: {
    50: '#d27079',
    500: '#b42946',
    950: '#000000',
  },
}
SCSS
$custom: #b42946;
$custom-light: #d27079;
$custom-dark: #000000;
JSON
{
  "hex": "#b42946",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 70
  },
  "hsl": {
    "h": 347.482,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.17419,
    "h": 14.6
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#B42946
secondary
#71C8B6
accent
#E6C442
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42946

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

Preview Lab → · Contrast checker → · Palette generator →

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