#B04158#B04158

#B04158 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.4% C 0.145 H 10.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B04158
RGBrgb(176, 65, 88)
HSLhsl(348, 46%, 47%)
HSVhsv(348, 63%, 69%)
CMYKcmyk(0%, 63.1%, 50%, 31%)
CIE-LABlab(43.83, 47.06, 10.73)
CIE-LCHlch(43.83, 48.26, 12.85°)
OKLaboklab(53.42% 0.1426 0.0275)
OKLCHoklch(53.42% 0.145 10.9)
XYZxyz(21.5580, 13.7179, 10.7432)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04158 #41B099
analogous
#B0418F #B04158 #B06241
triadic
#B04158 #58B041 #4158B0
tetradic
#B04158 #8FB041 #41B099 #6241B0
square
#B04158 #8FB041 #41B099 #6241B0
split-complementary
#B04158 #41B062 #418FB0
monochromatic
#57202B #833042 #B04158 #C7677B #D794A2

Accessibility & contrast

On white

5.61
#B04158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B04158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04158
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04158#FFFFFF#000000##FFFFFF
##B041581.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5958
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#BF304A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b04158;
/* rgb */ color: rgb(176, 65, 88);
/* oklch */ color: oklch(53.4% 0.145 10.9);
Tailwind
colors: {
  custom: {
    50: '#cd7b87',
    500: '#b04158',
    950: '#000000',
  },
}
SCSS
$custom: #b04158;
$custom-light: #cd7b87;
$custom-dark: #000000;
JSON
{
  "hex": "#b04158",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 347.568,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.14521,
    "h": 10.9
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#B04158
secondary
#8AC3B7
accent
#D6BA52
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #B04158

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

Preview Lab → · Contrast checker → · Palette generator →

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