#B23028#B23028

#B23028 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.168 H 28.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B23028
RGBrgb(178, 48, 40)
HSLhsl(3, 63%, 43%)
HSVhsv(3, 78%, 70%)
CMYKcmyk(0%, 73%, 77.5%, 30.2%)
CIE-LABlab(40.79, 51.62, 36.01)
CIE-LCHlch(40.79, 62.94, 34.90°)
OKLaboklab(50.94% 0.1481 0.0794)
OKLCHoklch(50.94% 0.168 28.2)
XYZxyz(19.8024, 11.7351, 3.2295)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23028 #28AAB2
analogous
#B22865 #B23028 #B27528
triadic
#B23028 #28B230 #3028B2
tetradic
#B23028 #65B228 #28AAB2 #7528B2
square
#B23028 #65B228 #28AAB2 #7528B2
split-complementary
#B23028 #28B275 #2865B2
monochromatic
#4E1512 #80231D #B23028 #D54B43 #E07B75

Accessibility & contrast

On white

6.28
#B23028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B23028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23028
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23028#FFFFFF#000000##FFFFFF
##B230281.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E26
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b23028;
/* rgb */ color: rgb(178, 48, 40);
/* oklch */ color: oklch(50.9% 0.168 28.2);
Tailwind
colors: {
  custom: {
    50: '#d27263',
    500: '#b23028',
    950: '#000000',
  },
}
SCSS
$custom: #b23028;
$custom-light: #d27263;
$custom-dark: #000000;
JSON
{
  "hex": "#b23028",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 40
  },
  "hsl": {
    "h": 3.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.16802,
    "h": 28.2
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#B23028
secondary
#6FC2C7
accent
#DDE641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B23028

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

Preview Lab → · Contrast checker → · Palette generator →

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