#B42F3B#B42F3B

#B42F3B is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.169 H 20.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B42F3B
RGBrgb(180, 47, 59)
HSLhsl(355, 59%, 45%)
HSVhsv(355, 74%, 71%)
CMYKcmyk(0%, 73.9%, 67.2%, 29.4%)
CIE-LABlab(41.30, 53.49, 25.42)
CIE-LCHlch(41.30, 59.22, 25.42°)
OKLaboklab(51.48% 0.1578 0.0599)
OKLCHoklch(51.48% 0.169 20.8)
XYZxyz(20.6306, 12.0552, 5.3774)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F3B #2FB4A8
analogous
#B42F7E #B42F3B #B4652F
triadic
#B42F3B #3BB42F #2F3BB4
tetradic
#B42F3B #7EB42F #2FB4A8 #652FB4
square
#B42F3B #7EB42F #2FB4A8 #652FB4
split-complementary
#B42F3B #2FB465 #2F7EB4
monochromatic
#53161B #83222B #B42F3B #D14F5B #DE8088

Accessibility & contrast

On white

6.16
#B42F3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B42F3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F3B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F3B#FFFFFF#000000##FFFFFF
##B42F3B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F3A
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#C60035
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42f3b;
/* rgb */ color: rgb(180, 47, 59);
/* oklch */ color: oklch(51.5% 0.169 20.8);
Tailwind
colors: {
  custom: {
    50: '#d27271',
    500: '#b42f3b',
    950: '#000000',
  },
}
SCSS
$custom: #b42f3b;
$custom-light: #d27271;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f3b",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 59
  },
  "hsl": {
    "h": 354.586,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.16881,
    "h": 20.8
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#B42F3B
secondary
#78C7C0
accent
#E2D446
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B42F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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