#B23228#B23228

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

Color values

HEX#B23228
RGBrgb(178, 50, 40)
HSLhsl(4, 63%, 43%)
HSVhsv(4, 78%, 70%)
CMYKcmyk(0%, 71.9%, 77.5%, 30.2%)
CIE-LABlab(41.06, 50.88, 36.29)
CIE-LCHlch(41.06, 62.50, 35.50°)
OKLaboklab(51.14% 0.1458 0.08)
OKLCHoklch(51.14% 0.166 28.8)
XYZxyz(19.8860, 11.9024, 3.2574)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23228 #28A8B2
analogous
#B22863 #B23228 #B27728
triadic
#B23228 #28B232 #3228B2
tetradic
#B23228 #63B228 #28A8B2 #7728B2
square
#B23228 #63B228 #28A8B2 #7728B2
split-complementary
#B23228 #28B277 #2863B2
monochromatic
#4E1612 #80241D #B23228 #D54D43 #E07C75

Accessibility & contrast

On white

6.21
#B23228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B23228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23228
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23228#FFFFFF#000000##FFFFFF
##B232281.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F26
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23228;
/* rgb */ color: rgb(178, 50, 40);
/* oklch */ color: oklch(51.1% 0.166 28.8);
Tailwind
colors: {
  custom: {
    50: '#d27363',
    500: '#b23228',
    950: '#000000',
  },
}
SCSS
$custom: #b23228;
$custom-light: #d27363;
$custom-dark: #000000;
JSON
{
  "hex": "#b23228",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 4.348,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51144,
    "c": 0.16627,
    "h": 28.8
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#B23228
secondary
#6FC1C7
accent
#DAE641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23228

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

Preview Lab → · Contrast checker → · Palette generator →

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