#B04138#B04138

#B04138 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.8% C 0.147 H 27.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B04138
RGBrgb(176, 65, 56)
HSLhsl(5, 52%, 45%)
HSVhsv(5, 68%, 69%)
CMYKcmyk(0%, 63.1%, 68.2%, 31%)
CIE-LABlab(43.21, 44.69, 29.40)
CIE-LCHlch(43.21, 53.49, 33.34°)
OKLaboklab(52.75% 0.1299 0.0684)
OKLCHoklch(52.75% 0.147 27.8)
XYZxyz(20.5107, 13.2990, 5.2275)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04138 #38A7B0
analogous
#B0386B #B04138 #B07D38
triadic
#B04138 #38B041 #4138B0
tetradic
#B04138 #6BB038 #38A7B0 #7D38B0
square
#B04138 #6BB038 #38A7B0 #7D38B0
split-complementary
#B04138 #38B07D #386BB0
monochromatic
#531F1A #823029 #B04138 #CB635B #D98F89

Accessibility & contrast

On white

5.74
#B04138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B04138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04138
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04138#FFFFFF#000000##FFFFFF
##B041381.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5736
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#C12840
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b04138;
/* rgb */ color: rgb(176, 65, 56);
/* oklch */ color: oklch(52.8% 0.147 27.8);
Tailwind
colors: {
  custom: {
    50: '#ce7b6f',
    500: '#b04138',
    950: '#000000',
  },
}
SCSS
$custom: #b04138;
$custom-light: #ce7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04138",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 4.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.1468,
    "h": 27.8
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#B04138
secondary
#80BFC4
accent
#D0DB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #B04138

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

Preview Lab → · Contrast checker → · Palette generator →

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