#B04238#B04238

#B04238 is a mid, vivid red. Relative luminance 0.134; OKLCH L 52.9% C 0.146 H 28.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B04238
RGBrgb(176, 66, 56)
HSLhsl(5, 52%, 45%)
HSVhsv(5, 68%, 69%)
CMYKcmyk(0%, 62.5%, 68.2%, 31%)
CIE-LABlab(43.38, 44.23, 29.60)
CIE-LCHlch(43.38, 53.22, 33.79°)
OKLaboklab(52.88% 0.1284 0.0689)
OKLCHoklch(52.88% 0.146 28.2)
XYZxyz(20.5686, 13.4149, 5.2468)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04238 #38A6B0
analogous
#B0386A #B04238 #B07E38
triadic
#B04238 #38B042 #4238B0
tetradic
#B04238 #6AB038 #38A6B0 #7E38B0
square
#B04238 #6AB038 #38A6B0 #7E38B0
split-complementary
#B04238 #38B07E #386AB0
monochromatic
#531F1A #823129 #B04238 #CB645B #D99089

Accessibility & contrast

On white

5.70
#B04238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B04238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04238
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04238#FFFFFF#000000##FFFFFF
##B042381.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5836
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#C12940
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b04238;
/* rgb */ color: rgb(176, 66, 56);
/* oklch */ color: oklch(52.9% 0.146 28.2);
Tailwind
colors: {
  custom: {
    50: '#ce7b6f',
    500: '#b04238',
    950: '#000000',
  },
}
SCSS
$custom: #b04238;
$custom-light: #ce7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04238",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.14575,
    "h": 28.2
  },
  "luminance": 0.13412
}

Semantic roles & 50–950 ramp

primary
#B04238
secondary
#80BEC4
accent
#CFDB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #B04238

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

Preview Lab → · Contrast checker → · Palette generator →

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