#B42F2F#B42F2F

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

Color values

HEX#B42F2F
RGBrgb(180, 47, 47)
HSLhsl(0, 59%, 45%)
HSVhsv(0, 74%, 71%)
CMYKcmyk(0%, 73.9%, 73.9%, 29.4%)
CIE-LABlab(41.13, 52.90, 32.44)
CIE-LCHlch(41.13, 62.06, 31.52°)
OKLaboklab(51.29% 0.1534 0.0733)
OKLCHoklch(51.29% 0.17 25.5)
XYZxyz(20.3543, 11.9447, 3.9226)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F2F #2FB4B4
analogous
#B42F72 #B42F2F #B4722F
triadic
#B42F2F #2FB42F #2F2FB4
tetradic
#B42F2F #72B42F #2FB4B4 #722FB4
square
#B42F2F #72B42F #2FB4B4 #722FB4
split-complementary
#B42F2F #2FB472 #2F72B4
monochromatic
#531616 #832222 #B42F2F #D14F4F #DE8080

Accessibility & contrast

On white

6.20
#B42F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F2F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F2F#FFFFFF#000000##FFFFFF
##B42F2F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42f2f;
/* rgb */ color: rgb(180, 47, 47);
/* oklch */ color: oklch(51.3% 0.170 25.5);
Tailwind
colors: {
  custom: {
    50: '#d37268',
    500: '#b42f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b42f2f;
$custom-light: #d37268;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f2f",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.16996,
    "h": 25.5
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#B42F2F
secondary
#78C7C7
accent
#E2E246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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