#B42B39#B42B39

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

Color values

HEX#B42B39
RGBrgb(180, 43, 57)
HSLhsl(354, 61%, 44%)
HSVhsv(354, 76%, 71%)
CMYKcmyk(0%, 76.1%, 68.3%, 29.4%)
CIE-LABlab(40.78, 54.74, 26.00)
CIE-LCHlch(40.78, 60.60, 25.41°)
OKLaboklab(51.08% 0.1614 0.0609)
OKLCHoklch(51.08% 0.173 20.7)
XYZxyz(20.4270, 11.7296, 5.0585)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B39 #2BB4A6
analogous
#B42B7D #B42B39 #B4612B
triadic
#B42B39 #39B42B #2B39B4
tetradic
#B42B39 #7DB42B #2BB4A6 #612BB4
square
#B42B39 #7DB42B #2BB4A6 #612BB4
split-complementary
#B42B39 #2BB461 #2B7DB4
monochromatic
#51131A #831F29 #B42B39 #D34957 #DF7A84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42B39#FFFFFF#000000##FFFFFF
##B42B391.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)
#534E38
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42b39;
/* rgb */ color: rgb(180, 43, 57);
/* oklch */ color: oklch(51.1% 0.173 20.7);
Tailwind
colors: {
  custom: {
    50: '#d2706f',
    500: '#b42b39',
    950: '#000000',
  },
}
SCSS
$custom: #b42b39;
$custom-light: #d2706f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b39",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 57
  },
  "hsl": {
    "h": 353.869,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.17252,
    "h": 20.7
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#B42B39
secondary
#73C7BF
accent
#E5D443
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160807
muted
#847B7A

Preview Lab

Preview with #B42B39

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

Preview Lab → · Contrast checker → · Palette generator →

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