#B42340#B42340

#B42340 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.6% C 0.179 H 16.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B42340
RGBrgb(180, 35, 64)
HSLhsl(348, 67%, 42%)
HSVhsv(348, 81%, 71%)
CMYKcmyk(0%, 80.6%, 64.4%, 29.4%)
CIE-LABlab(40.05, 57.55, 20.71)
CIE-LCHlch(40.05, 61.16, 19.80°)
OKLaboklab(50.57% 0.1719 0.0498)
OKLCHoklch(50.57% 0.179 16.1)
XYZxyz(20.3510, 11.2786, 5.9549)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42340 #23B497
analogous
#B42389 #B42340 #B44F23
triadic
#B42340 #40B423 #2340B4
tetradic
#B42340 #89B423 #23B497 #4F23B4
square
#B42340 #89B423 #23B497 #4F23B4
split-complementary
#B42340 #23B44F #2389B4
monochromatic
#4E0F1C #81192E #B42340 #D93B5B #E36E86

Accessibility & contrast

On white

6.45
#B42340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42340
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42340#FFFFFF#000000##FFFFFF
##B423401.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42340;
/* rgb */ color: rgb(180, 35, 64);
/* oklch */ color: oklch(50.6% 0.179 16.1);
Tailwind
colors: {
  custom: {
    50: '#d26d74',
    500: '#b42340',
    950: '#000000',
  },
}
SCSS
$custom: #b42340;
$custom-light: #d26d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b42340",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 348,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.17897,
    "h": 16.1
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#B42340
secondary
#69C9B6
accent
#EAC83D
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B

Preview Lab

Preview with #B42340

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

Preview Lab → · Contrast checker → · Palette generator →

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