#B42F42#B42F42

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

Color values

HEX#B42F42
RGBrgb(180, 47, 66)
HSLhsl(351, 59%, 45%)
HSVhsv(351, 74%, 71%)
CMYKcmyk(0%, 73.9%, 63.3%, 29.4%)
CIE-LABlab(41.43, 53.90, 21.25)
CIE-LCHlch(41.43, 57.94, 21.52°)
OKLaboklab(51.61% 0.1606 0.0512)
OKLCHoklch(51.61% 0.169 17.7)
XYZxyz(20.8244, 12.1327, 6.3985)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F42 #2FB4A1
analogous
#B42F84 #B42F42 #B45F2F
triadic
#B42F42 #42B42F #2F42B4
tetradic
#B42F42 #84B42F #2FB4A1 #5F2FB4
square
#B42F42 #84B42F #2FB4A1 #5F2FB4
split-complementary
#B42F42 #2FB45F #2F84B4
monochromatic
#53161E #832230 #B42F42 #D14F62 #DE808D

Accessibility & contrast

On white

6.13
#B42F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B42F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F42
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F42#FFFFFF#000000##FFFFFF
##B42F421.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545042
Deuteranopia (green-blind)
#766C3E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42f42;
/* rgb */ color: rgb(180, 47, 66);
/* oklch */ color: oklch(51.6% 0.169 17.7);
Tailwind
colors: {
  custom: {
    50: '#d27276',
    500: '#b42f42',
    950: '#000000',
  },
}
SCSS
$custom: #b42f42;
$custom-light: #d27276;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f42",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 351.429,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.16856,
    "h": 17.7
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#B42F42
secondary
#78C7BB
accent
#E2CC46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B42F42

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

Preview Lab → · Contrast checker → · Palette generator →

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