#B23740#B23740

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

Color values

HEX#B23740
RGBrgb(178, 55, 64)
HSLhsl(356, 53%, 46%)
HSVhsv(356, 69%, 70%)
CMYKcmyk(0%, 69.1%, 64%, 30.2%)
CIE-LABlab(42.11, 50.13, 23.29)
CIE-LCHlch(42.11, 55.28, 24.92°)
OKLaboklab(52.04% 0.1484 0.0557)
OKLCHoklch(52.04% 0.159 20.6)
XYZxyz(20.6538, 12.5705, 6.1883)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23740 #37B2A9
analogous
#B2377D #B23740 #B26B37
triadic
#B23740 #40B237 #3740B2
tetradic
#B23740 #7DB237 #37B2A9 #6B37B2
square
#B23740 #7DB237 #37B2A9 #6B37B2
split-complementary
#B23740 #37B26B #377DB2
monochromatic
#541A1E #83292F #B23740 #CC5A62 #DB898F

Accessibility & contrast

On white

5.98
#B23740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23740
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23740#FFFFFF#000000##FFFFFF
##B237401.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533F
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#C3163B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23740;
/* rgb */ color: rgb(178, 55, 64);
/* oklch */ color: oklch(52.0% 0.159 20.6);
Tailwind
colors: {
  custom: {
    50: '#d07674',
    500: '#b23740',
    950: '#000000',
  },
}
SCSS
$custom: #b23740;
$custom-light: #d07674;
$custom-dark: #000000;
JSON
{
  "hex": "#b23740",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 64
  },
  "hsl": {
    "h": 355.61,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.15855,
    "h": 20.6
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#B23740
secondary
#80C5C0
accent
#DCD24C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23740

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

Preview Lab → · Contrast checker → · Palette generator →

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