#B23827#B23827

#B23827 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.161 H 31.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B23827
RGBrgb(178, 56, 39)
HSLhsl(7, 64%, 43%)
HSVhsv(7, 78%, 70%)
CMYKcmyk(0%, 68.5%, 78.1%, 30.2%)
CIE-LABlab(41.91, 48.48, 37.74)
CIE-LCHlch(41.91, 61.44, 37.90°)
OKLaboklab(51.78% 0.1381 0.0829)
OKLCHoklch(51.78% 0.161 31)
XYZxyz(20.1428, 12.4428, 3.2601)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23827 #27A1B2
analogous
#B2275C #B23827 #B27D27
triadic
#B23827 #27B238 #3827B2
tetradic
#B23827 #5CB227 #27A1B2 #7D27B2
square
#B23827 #5CB227 #27A1B2 #7D27B2
split-complementary
#B23827 #27B27D #275CB2
monochromatic
#4E1811 #80281C #B23827 #D55341 #E08073

Accessibility & contrast

On white

6.02
#B23827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B23827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23827
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23827#FFFFFF#000000##FFFFFF
##B238271.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#C40F35
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23827;
/* rgb */ color: rgb(178, 56, 39);
/* oklch */ color: oklch(51.8% 0.161 31.0);
Tailwind
colors: {
  custom: {
    50: '#d17662',
    500: '#b23827',
    950: '#000000',
  },
}
SCSS
$custom: #b23827;
$custom-light: #d17662;
$custom-dark: #000000;
JSON
{
  "hex": "#b23827",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 39
  },
  "hsl": {
    "h": 7.338,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.16103,
    "h": 31
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#B23827
secondary
#6DBCC8
accent
#D3E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23827

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

Preview Lab → · Contrast checker → · Palette generator →

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