#B04742#B04742

#B04742 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.7% C 0.139 H 25.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B04742
RGBrgb(176, 71, 66)
HSLhsl(3, 45%, 47%)
HSVhsv(3, 63%, 69%)
CMYKcmyk(0%, 59.7%, 62.5%, 31%)
CIE-LABlab(44.42, 42.51, 24.95)
CIE-LCHlch(44.42, 49.30, 30.41°)
OKLaboklab(53.72% 0.125 0.0598)
OKLCHoklch(53.72% 0.139 25.6)
XYZxyz(21.1431, 14.1327, 6.7677)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04742 #42ABB0
analogous
#B04274 #B04742 #B07E42
triadic
#B04742 #42B047 #4742B0
tetradic
#B04742 #74B042 #42ABB0 #7E42B0
square
#B04742 #74B042 #42ABB0 #7E42B0
split-complementary
#B04742 #42B07E #4274B0
monochromatic
#572321 #833531 #B04742 #C76D69 #D79895

Accessibility & contrast

On white

5.49
#B04742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B04742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04742
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04742#FFFFFF#000000##FFFFFF
##B047421.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B41
Deuteranopia (green-blind)
#7C713F
Tritanopia (blue-blind)
#C13347
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04742;
/* rgb */ color: rgb(176, 71, 66);
/* oklch */ color: oklch(53.7% 0.139 25.6);
Tailwind
colors: {
  custom: {
    50: '#cd7e76',
    500: '#b04742',
    950: '#000000',
  },
}
SCSS
$custom: #b04742;
$custom-light: #cd7e76;
$custom-dark: #000000;
JSON
{
  "hex": "#b04742",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 2.727,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.13852,
    "h": 25.6
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#B04742
secondary
#8BC0C3
accent
#CFD553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B04742

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

Preview Lab → · Contrast checker → · Palette generator →

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