#B23038#B23038

#B23038 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.166 H 22.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B23038
RGBrgb(178, 48, 56)
HSLhsl(356, 58%, 44%)
HSVhsv(356, 73%, 70%)
CMYKcmyk(0%, 73%, 68.5%, 30.2%)
CIE-LABlab(41.00, 52.34, 26.80)
CIE-LCHlch(41.00, 58.81, 27.11°)
OKLaboklab(51.17% 0.1538 0.0626)
OKLCHoklch(51.17% 0.166 22.1)
XYZxyz(20.1331, 11.8674, 4.9711)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23038 #30B2AA
analogous
#B23079 #B23038 #B26930
triadic
#B23038 #38B230 #3038B2
tetradic
#B23038 #79B230 #30B2AA #6930B2
square
#B23038 #79B230 #30B2AA #6930B2
split-complementary
#B23038 #30B269 #3079B2
monochromatic
#52161A #822329 #B23038 #D05057 #DD8085

Accessibility & contrast

On white

6.23
#B23038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B23038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23038
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23038#FFFFFF#000000##FFFFFF
##B230381.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F37
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23038;
/* rgb */ color: rgb(178, 48, 56);
/* oklch */ color: oklch(51.2% 0.166 22.1);
Tailwind
colors: {
  custom: {
    50: '#d1726e',
    500: '#b23038',
    950: '#000000',
  },
}
SCSS
$custom: #b23038;
$custom-light: #d1726e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23038",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 56
  },
  "hsl": {
    "h": 356.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.16607,
    "h": 22.1
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#B23038
secondary
#78C6C1
accent
#E1D747
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B23038

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

Preview Lab → · Contrast checker → · Palette generator →

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