#B42E4F#B42E4F

#B42E4F is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.170 H 11.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B42E4F
RGBrgb(180, 46, 79)
HSLhsl(345, 59%, 44%)
HSVhsv(345, 74%, 71%)
CMYKcmyk(0%, 74.4%, 56.1%, 29.4%)
CIE-LABlab(41.57, 55.14, 13.32)
CIE-LCHlch(41.57, 56.72, 13.58°)
OKLaboklab(51.8% 0.1669 0.0335)
OKLCHoklch(51.8% 0.17 11.3)
XYZxyz(21.2127, 12.2248, 8.6382)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E4F #2EB493
analogous
#B42E92 #B42E4F #B4502E
triadic
#B42E4F #4FB42E #2E4FB4
tetradic
#B42E4F #92B42E #2EB493 #502EB4
square
#B42E4F #92B42E #2EB493 #502EB4
split-complementary
#B42E4F #2EB450 #2E92B4
monochromatic
#531524 #83223A #B42E4F #D24E6E #DE7E96

Accessibility & contrast

On white

6.10
#B42E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B42E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E4F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E4F#FFFFFF#000000##FFFFFF
##B42E4F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51514F
Deuteranopia (green-blind)
#746C4C
Tritanopia (blue-blind)
#C5043C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42e4f;
/* rgb */ color: rgb(180, 46, 79);
/* oklch */ color: oklch(51.8% 0.170 11.3);
Tailwind
colors: {
  custom: {
    50: '#d17280',
    500: '#b42e4f',
    950: '#000000',
  },
}
SCSS
$custom: #b42e4f;
$custom-light: #d17280;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e4f",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 345.224,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.17017,
    "h": 11.3
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#B42E4F
secondary
#77C7B3
accent
#E2BC45
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B42E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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