#B23A38#B23A38

#B23A38 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.2% C 0.156 H 25.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B23A38
RGBrgb(178, 58, 56)
HSLhsl(1, 52%, 46%)
HSVhsv(1, 69%, 70%)
CMYKcmyk(0%, 67.4%, 68.5%, 30.2%)
CIE-LABlab(42.43, 48.44, 28.54)
CIE-LCHlch(42.43, 56.22, 30.50°)
OKLaboklab(52.23% 0.1414 0.0665)
OKLCHoklch(52.23% 0.156 25.2)
XYZxyz(20.5891, 12.7796, 5.1232)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A38 #38B0B2
analogous
#B23873 #B23A38 #B27738
triadic
#B23A38 #38B23A #3A38B2
tetradic
#B23A38 #73B238 #38B0B2 #7738B2
square
#B23A38 #73B238 #38B0B2 #7738B2
split-complementary
#B23A38 #38B277 #3873B2
monochromatic
#551C1B #832B29 #B23A38 #CC5D5C #DA8B8A

Accessibility & contrast

On white

5.91
#B23A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B23A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A38
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A38#FFFFFF#000000##FFFFFF
##B23A381.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5437
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#C31A3B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23a38;
/* rgb */ color: rgb(178, 58, 56);
/* oklch */ color: oklch(52.2% 0.156 25.2);
Tailwind
colors: {
  custom: {
    50: '#d0776e',
    500: '#b23a38',
    950: '#000000',
  },
}
SCSS
$custom: #b23a38;
$custom-light: #d0776e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a38",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 56
  },
  "hsl": {
    "h": 0.984,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.15627,
    "h": 25.2
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#B23A38
secondary
#81C3C5
accent
#D9DC4C
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23A38

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

Preview Lab → · Contrast checker → · Palette generator →

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