#B42F3A#B42F3A

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

Color values

HEX#B42F3A
RGBrgb(180, 47, 58)
HSLhsl(355, 59%, 45%)
HSVhsv(355, 74%, 71%)
CMYKcmyk(0%, 73.9%, 67.8%, 29.4%)
CIE-LABlab(41.29, 53.44, 26.01)
CIE-LCHlch(41.29, 59.43, 25.96°)
OKLaboklab(51.46% 0.1575 0.0611)
OKLCHoklch(51.46% 0.169 21.2)
XYZxyz(20.6049, 12.0449, 5.2421)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F3A #2FB4A9
analogous
#B42F7C #B42F3A #B4672F
triadic
#B42F3A #3AB42F #2F3AB4
tetradic
#B42F3A #7CB42F #2FB4A9 #672FB4
square
#B42F3A #7CB42F #2FB4A9 #672FB4
split-complementary
#B42F3A #2FB467 #2F7CB4
monochromatic
#53161B #83222A #B42F3A #D14F5A #DE8087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42F3A#FFFFFF#000000##FFFFFF
##B42F3A1.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)
#554F39
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#C60034
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42f3a;
/* rgb */ color: rgb(180, 47, 58);
/* oklch */ color: oklch(51.5% 0.169 21.2);
Tailwind
colors: {
  custom: {
    50: '#d27270',
    500: '#b42f3a',
    950: '#000000',
  },
}
SCSS
$custom: #b42f3a;
$custom-light: #d27270;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f3a",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 58
  },
  "hsl": {
    "h": 355.038,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.16888,
    "h": 21.2
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#B42F3A
secondary
#78C7C0
accent
#E2D546
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B42F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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