#B23838#B23838

#B23838 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.158 H 24.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B23838
RGBrgb(178, 56, 56)
HSLhsl(0, 52%, 46%)
HSVhsv(0, 69%, 70%)
CMYKcmyk(0%, 68.5%, 68.5%, 30.2%)
CIE-LABlab(42.13, 49.26, 28.17)
CIE-LCHlch(42.13, 56.75, 29.76°)
OKLaboklab(52.01% 0.144 0.0656)
OKLCHoklch(52.01% 0.158 24.5)
XYZxyz(20.4902, 12.5818, 5.0902)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23838 #38B2B2
analogous
#B23875 #B23838 #B27538
triadic
#B23838 #38B238 #3838B2
tetradic
#B23838 #75B238 #38B2B2 #7538B2
square
#B23838 #75B238 #38B2B2 #7538B2
split-complementary
#B23838 #38B275 #3875B2
monochromatic
#551B1B #832929 #B23838 #CC5C5C #DA8A8A

Accessibility & contrast

On white

5.97
#B23838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B23838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23838
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23838#FFFFFF#000000##FFFFFF
##B238381.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5337
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#C31539
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23838;
/* rgb */ color: rgb(178, 56, 56);
/* oklch */ color: oklch(52.0% 0.158 24.5);
Tailwind
colors: {
  custom: {
    50: '#d0766e',
    500: '#b23838',
    950: '#000000',
  },
}
SCSS
$custom: #b23838;
$custom-light: #d0766e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23838",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.15829,
    "h": 24.5
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#B23838
secondary
#81C5C5
accent
#DCDC4C
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23838

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

Preview Lab → · Contrast checker → · Palette generator →

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