#B42F30#B42F30

#B42F30 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.170 H 25.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B42F30
RGBrgb(180, 47, 48)
HSLhsl(360, 59%, 45%)
HSVhsv(360, 74%, 71%)
CMYKcmyk(0%, 73.9%, 73.3%, 29.4%)
CIE-LABlab(41.14, 52.94, 31.87)
CIE-LCHlch(41.14, 61.79, 31.04°)
OKLaboklab(51.3% 0.1537 0.0722)
OKLCHoklch(51.3% 0.17 25.2)
XYZxyz(20.3747, 11.9528, 4.0300)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F30 #2FB4B3
analogous
#B42F73 #B42F30 #B4712F
triadic
#B42F30 #30B42F #2F30B4
tetradic
#B42F30 #73B42F #2FB4B3 #712FB4
square
#B42F30 #73B42F #2FB4B3 #712FB4
split-complementary
#B42F30 #2FB471 #2F73B4
monochromatic
#531616 #832223 #B42F30 #D14F50 #DE8080

Accessibility & contrast

On white

6.19
#B42F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B42F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F30
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F30#FFFFFF#000000##FFFFFF
##B42F301.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F2F
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42f30;
/* rgb */ color: rgb(180, 47, 48);
/* oklch */ color: oklch(51.3% 0.170 25.2);
Tailwind
colors: {
  custom: {
    50: '#d37268',
    500: '#b42f30',
    950: '#000000',
  },
}
SCSS
$custom: #b42f30;
$custom-light: #d37268;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f30",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 359.549,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.16985,
    "h": 25.2
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#B42F30
secondary
#78C7C6
accent
#E2E146
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42F30

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

Preview Lab → · Contrast checker → · Palette generator →

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