#B24040#B24040

#B24040 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.1% C 0.149 H 23.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B24040
RGBrgb(178, 64, 64)
HSLhsl(0, 47%, 47%)
HSVhsv(0, 64%, 70%)
CMYKcmyk(0%, 64%, 64%, 30.2%)
CIE-LABlab(43.51, 46.32, 25.08)
CIE-LCHlch(43.51, 52.68, 28.43°)
OKLaboklab(53.09% 0.1364 0.0598)
OKLCHoklch(53.09% 0.149 23.7)
XYZxyz(21.1210, 13.5048, 6.3440)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24040 #40B2B2
analogous
#B24079 #B24040 #B27940
triadic
#B24040 #40B240 #4040B2
tetradic
#B24040 #79B240 #40B2B2 #7940B2
square
#B24040 #79B240 #40B2B2 #7940B2
split-complementary
#B24040 #40B279 #4079B2
monochromatic
#582020 #853030 #B24040 #C86767 #D89494

Accessibility & contrast

On white

5.68
#B24040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B24040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24040
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24040#FFFFFF#000000##FFFFFF
##B240401.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573F
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#C32741
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b24040;
/* rgb */ color: rgb(178, 64, 64);
/* oklch */ color: oklch(53.1% 0.149 23.7);
Tailwind
colors: {
  custom: {
    50: '#d07a75',
    500: '#b24040',
    950: '#000000',
  },
}
SCSS
$custom: #b24040;
$custom-light: #d07a75;
$custom-dark: #000000;
JSON
{
  "hex": "#b24040",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.14888,
    "h": 23.7
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#B24040
secondary
#8AC4C4
accent
#D7D751
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B24040

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

Preview Lab → · Contrast checker → · Palette generator →

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