#B23727#B23727

#B23727 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.7% C 0.162 H 30.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B23727
RGBrgb(178, 55, 39)
HSLhsl(7, 64%, 43%)
HSVhsv(7, 78%, 70%)
CMYKcmyk(0%, 69.1%, 78.1%, 30.2%)
CIE-LABlab(41.76, 48.89, 37.59)
CIE-LCHlch(41.76, 61.67, 37.55°)
OKLaboklab(51.67% 0.1393 0.0825)
OKLCHoklch(51.67% 0.162 30.6)
XYZxyz(20.0948, 12.3468, 3.2441)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23727 #27A2B2
analogous
#B2275D #B23727 #B27C27
triadic
#B23727 #27B237 #3727B2
tetradic
#B23727 #5DB227 #27A2B2 #7C27B2
square
#B23727 #5DB227 #27A2B2 #7C27B2
split-complementary
#B23727 #27B27C #275DB2
monochromatic
#4E1811 #80271C #B23727 #D55241 #E08073

Accessibility & contrast

On white

6.05
#B23727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B23727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23727
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23727#FFFFFF#000000##FFFFFF
##B237271.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5124
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#C40C34
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23727;
/* rgb */ color: rgb(178, 55, 39);
/* oklch */ color: oklch(51.7% 0.162 30.6);
Tailwind
colors: {
  custom: {
    50: '#d17562',
    500: '#b23727',
    950: '#000000',
  },
}
SCSS
$custom: #b23727;
$custom-light: #d17562;
$custom-dark: #000000;
JSON
{
  "hex": "#b23727",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 39
  },
  "hsl": {
    "h": 6.906,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.16195,
    "h": 30.6
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#B23727
secondary
#6DBDC8
accent
#D4E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #B23727

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

Preview Lab → · Contrast checker → · Palette generator →

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