#B23F31#B23F31

#B23F31 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.7% C 0.152 H 29.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B23F31
RGBrgb(178, 63, 49)
HSLhsl(7, 57%, 45%)
HSVhsv(7, 72%, 70%)
CMYKcmyk(0%, 64.6%, 72.5%, 30.2%)
CIE-LABlab(43.13, 45.93, 33.46)
CIE-LCHlch(43.13, 56.82, 36.08°)
OKLaboklab(52.73% 0.1321 0.076)
OKLCHoklch(52.73% 0.152 29.9)
XYZxyz(20.6942, 13.2447, 4.3719)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23F31 #31A4B2
analogous
#B23163 #B23F31 #B28031
triadic
#B23F31 #31B23F #3F31B2
tetradic
#B23F31 #63B231 #31A4B2 #8031B2
square
#B23F31 #63B231 #31A4B2 #8031B2
split-complementary
#B23F31 #31B280 #3163B2
monochromatic
#521D17 #822E24 #B23F31 #CF5F51 #DC8B81

Accessibility & contrast

On white

5.76
#B23F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B23F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23F31
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23F31#FFFFFF#000000##FFFFFF
##B23F311.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#C4223C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23f31;
/* rgb */ color: rgb(178, 63, 49);
/* oklch */ color: oklch(52.7% 0.152 29.9);
Tailwind
colors: {
  custom: {
    50: '#d07a6a',
    500: '#b23f31',
    950: '#000000',
  },
}
SCSS
$custom: #b23f31;
$custom-light: #d07a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23f31",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 6.512,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.15242,
    "h": 29.9
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#B23F31
secondary
#79BDC5
accent
#D0E048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B23F31

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

Preview Lab → · Contrast checker → · Palette generator →

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