#B42E45#B42E45

#B42E45 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.170 H 16.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B42E45
RGBrgb(180, 46, 69)
HSLhsl(350, 59%, 44%)
HSVhsv(350, 74%, 71%)
CMYKcmyk(0%, 74.4%, 61.7%, 29.4%)
CIE-LABlab(41.36, 54.44, 19.30)
CIE-LCHlch(41.36, 57.76, 19.52°)
OKLaboklab(51.58% 0.1629 0.047)
OKLCHoklch(51.58% 0.17 16.1)
XYZxyz(20.8757, 12.0900, 6.8634)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E45 #2EB49D
analogous
#B42E88 #B42E45 #B45A2E
triadic
#B42E45 #45B42E #2E45B4
tetradic
#B42E45 #88B42E #2EB49D #5A2EB4
square
#B42E45 #88B42E #2EB49D #5A2EB4
split-complementary
#B42E45 #2EB45A #2E88B4
monochromatic
#531520 #832232 #B42E45 #D24E64 #DE7E8F

Accessibility & contrast

On white

6.15
#B42E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B42E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E45
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E45#FFFFFF#000000##FFFFFF
##B42E451.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535045
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42e45;
/* rgb */ color: rgb(180, 46, 69);
/* oklch */ color: oklch(51.6% 0.170 16.1);
Tailwind
colors: {
  custom: {
    50: '#d27278',
    500: '#b42e45',
    950: '#000000',
  },
}
SCSS
$custom: #b42e45;
$custom-light: #d27278;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e45",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 69
  },
  "hsl": {
    "h": 349.701,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.16954,
    "h": 16.1
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#B42E45
secondary
#77C7B9
accent
#E2C745
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #B42E45

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

Preview Lab → · Contrast checker → · Palette generator →

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