#B42145#B42145

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

Color values

HEX#B42145
RGBrgb(180, 33, 69)
HSLhsl(345, 69%, 42%)
HSVhsv(345, 82%, 71%)
CMYKcmyk(0%, 81.7%, 61.7%, 29.4%)
CIE-LABlab(39.95, 58.39, 17.44)
CIE-LCHlch(39.95, 60.94, 16.63°)
OKLaboklab(50.54% 0.1756 0.0426)
OKLCHoklch(50.54% 0.181 13.6)
XYZxyz(20.4426, 11.2238, 6.7191)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42145 #21B490
analogous
#B4218F #B42145 #B44721
triadic
#B42145 #45B421 #2145B4
tetradic
#B42145 #8FB421 #21B490 #4721B4
square
#B42145 #8FB421 #21B490 #4721B4
split-complementary
#B42145 #21B447 #218FB4
monochromatic
#4D0E1D #801831 #B42145 #DA3860 #E46B89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42145#FFFFFF#000000##FFFFFF
##B421451.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)
#4D4B45
Deuteranopia (green-blind)
#726941
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42145;
/* rgb */ color: rgb(180, 33, 69);
/* oklch */ color: oklch(50.5% 0.181 13.6);
Tailwind
colors: {
  custom: {
    50: '#d26d78',
    500: '#b42145',
    950: '#000000',
  },
}
SCSS
$custom: #b42145;
$custom-light: #d26d78;
$custom-dark: #000000;
JSON
{
  "hex": "#b42145",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 345.306,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.18072,
    "h": 13.6
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#B42145
secondary
#67CAB2
accent
#ECC13C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B42145

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

Preview Lab → · Contrast checker → · Palette generator →

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