#B34040#B34040

#B34040 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.3% C 0.150 H 23.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B34040
RGBrgb(179, 64, 64)
HSLhsl(0, 47%, 48%)
HSVhsv(0, 64%, 70%)
CMYKcmyk(0%, 64.2%, 64.2%, 29.8%)
CIE-LABlab(43.69, 46.67, 25.33)
CIE-LCHlch(43.69, 53.10, 28.49°)
OKLaboklab(53.25% 0.1373 0.0603)
OKLCHoklch(53.25% 0.15 23.7)
XYZxyz(21.3513, 13.6236, 6.3548)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34040 #40B3B3
analogous
#B34079 #B34040 #B37940
triadic
#B34040 #40B340 #4040B3
tetradic
#B34040 #79B340 #40B3B3 #7940B3
square
#B34040 #79B340 #40B3B3 #7940B3
split-complementary
#B34040 #40B379 #4079B3
monochromatic
#592020 #863030 #B34040 #C96767 #D99494

Accessibility & contrast

On white

5.64
#B34040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B34040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34040
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34040#FFFFFF#000000##FFFFFF
##B340401.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#C42741
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b34040;
/* rgb */ color: rgb(179, 64, 64);
/* oklch */ color: oklch(53.3% 0.150 23.7);
Tailwind
colors: {
  custom: {
    50: '#d07b75',
    500: '#b34040',
    950: '#000000',
  },
}
SCSS
$custom: #b34040;
$custom-light: #d07b75;
$custom-dark: #000000;
JSON
{
  "hex": "#b34040",
  "rgb": {
    "r": 179,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.15,
    "h": 23.7
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34040

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

Preview Lab → · Contrast checker → · Palette generator →

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