#B42B2F#B42B2F

#B42B2F is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.173 H 24.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B42B2F
RGBrgb(180, 43, 47)
HSLhsl(358, 61%, 44%)
HSVhsv(358, 76%, 71%)
CMYKcmyk(0%, 76.1%, 73.9%, 29.4%)
CIE-LABlab(40.64, 54.27, 31.88)
CIE-LCHlch(40.64, 62.94, 30.44°)
OKLaboklab(50.92% 0.1577 0.072)
OKLCHoklch(50.92% 0.173 24.5)
XYZxyz(20.2017, 11.6394, 3.8717)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B2F #2BB4B0
analogous
#B42B73 #B42B2F #B46B2B
triadic
#B42B2F #2FB42B #2B2FB4
tetradic
#B42B2F #73B42B #2BB4B0 #6B2BB4
square
#B42B2F #73B42B #2BB4B0 #6B2BB4
split-complementary
#B42B2F #2BB46B #2B73B4
monochromatic
#511315 #831F22 #B42B2F #D3494D #DF7A7D

Accessibility & contrast

On white

6.31
#B42B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42B2F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B2F#FFFFFF#000000##FFFFFF
##B42B2F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2E
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42b2f;
/* rgb */ color: rgb(180, 43, 47);
/* oklch */ color: oklch(50.9% 0.173 24.5);
Tailwind
colors: {
  custom: {
    50: '#d37068',
    500: '#b42b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b42b2f;
$custom-light: #d37068;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b2f",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 358.248,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.17337,
    "h": 24.5
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#B42B2F
secondary
#73C7C5
accent
#E5E043
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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