#B42240#B42240

#B42240 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.180 H 16.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B42240
RGBrgb(180, 34, 64)
HSLhsl(348, 68%, 42%)
HSVhsv(348, 81%, 71%)
CMYKcmyk(0%, 81.1%, 64.4%, 29.4%)
CIE-LABlab(39.95, 57.82, 20.59)
CIE-LCHlch(39.95, 61.38, 19.60°)
OKLaboklab(50.5% 0.1728 0.0495)
OKLCHoklch(50.5% 0.18 16)
XYZxyz(20.3220, 11.2206, 5.9452)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42240 #22B496
analogous
#B42289 #B42240 #B44D22
triadic
#B42240 #40B422 #2240B4
tetradic
#B42240 #89B422 #22B496 #4D22B4
square
#B42240 #89B422 #22B496 #4D22B4
split-complementary
#B42240 #22B44D #2289B4
monochromatic
#4D0F1B #81182E #B42240 #DA3A5A #E36D85

Accessibility & contrast

On white

6.47
#B42240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B42240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42240
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42240#FFFFFF#000000##FFFFFF
##B422401.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#72693C
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42240;
/* rgb */ color: rgb(180, 34, 64);
/* oklch */ color: oklch(50.5% 0.180 16.0);
Tailwind
colors: {
  custom: {
    50: '#d26d74',
    500: '#b42240',
    950: '#000000',
  },
}
SCSS
$custom: #b42240;
$custom-light: #d26d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b42240",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 347.671,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.17974,
    "h": 16
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#B42240
secondary
#68CAB6
accent
#EBC73D
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B

Preview Lab

Preview with #B42240

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

Preview Lab → · Contrast checker → · Palette generator →

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