#B23834#B23834

#B23834 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.9% C 0.159 H 26.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B23834
RGBrgb(178, 56, 52)
HSLhsl(2, 55%, 45%)
HSVhsv(2, 71%, 70%)
CMYKcmyk(0%, 68.5%, 70.8%, 30.2%)
CIE-LABlab(42.07, 49.05, 30.48)
CIE-LCHlch(42.07, 57.75, 31.86°)
OKLaboklab(51.94% 0.1425 0.0701)
OKLCHoklch(51.94% 0.159 26.2)
XYZxyz(20.3963, 12.5442, 4.5954)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23834 #34AEB2
analogous
#B2346F #B23834 #B27734
triadic
#B23834 #34B238 #3834B2
tetradic
#B23834 #6FB234 #34AEB2 #7734B2
square
#B23834 #6FB234 #34AEB2 #7734B2
split-complementary
#B23834 #34B277 #346FB2
monochromatic
#531A18 #832926 #B23834 #CE5956 #DB8885

Accessibility & contrast

On white

5.99
#B23834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B23834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23834
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23834#FFFFFF#000000##FFFFFF
##B238341.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5332
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#C41438
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23834;
/* rgb */ color: rgb(178, 56, 52);
/* oklch */ color: oklch(51.9% 0.159 26.2);
Tailwind
colors: {
  custom: {
    50: '#d1766c',
    500: '#b23834',
    950: '#000000',
  },
}
SCSS
$custom: #b23834;
$custom-light: #d1766c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23834",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 52
  },
  "hsl": {
    "h": 1.905,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.15884,
    "h": 26.2
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#B23834
secondary
#7DC3C5
accent
#D9DE4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #B23834

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

Preview Lab → · Contrast checker → · Palette generator →

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