#B42E34#B42E34

#B42E34 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.170 H 23.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B42E34
RGBrgb(180, 46, 52)
HSLhsl(357, 59%, 44%)
HSVhsv(357, 74%, 71%)
CMYKcmyk(0%, 74.4%, 71.1%, 29.4%)
CIE-LABlab(41.07, 53.48, 29.40)
CIE-LCHlch(41.07, 61.02, 28.80°)
OKLaboklab(51.27% 0.1563 0.0676)
OKLCHoklch(51.27% 0.17 23.4)
XYZxyz(20.4215, 11.9083, 4.4714)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E34 #2EB4AE
analogous
#B42E77 #B42E34 #B46B2E
triadic
#B42E34 #34B42E #2E34B4
tetradic
#B42E34 #77B42E #2EB4AE #6B2EB4
square
#B42E34 #77B42E #2EB4AE #6B2EB4
split-complementary
#B42E34 #2EB46B #2E77B4
monochromatic
#531518 #832226 #B42E34 #D24E53 #DE7E83

Accessibility & contrast

On white

6.21
#B42E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B42E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E34
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E34#FFFFFF#000000##FFFFFF
##B42E341.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E33
Deuteranopia (green-blind)
#776B30
Tritanopia (blue-blind)
#C60032
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42e34;
/* rgb */ color: rgb(180, 46, 52);
/* oklch */ color: oklch(51.3% 0.170 23.4);
Tailwind
colors: {
  custom: {
    50: '#d3716b',
    500: '#b42e34',
    950: '#000000',
  },
}
SCSS
$custom: #b42e34;
$custom-light: #d3716b;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e34",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 52
  },
  "hsl": {
    "h": 357.313,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.17029,
    "h": 23.4
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#B42E34
secondary
#77C7C3
accent
#E2DB45
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42E34

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

Preview Lab → · Contrast checker → · Palette generator →

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