#B23742#B23742

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

Color values

HEX#B23742
RGBrgb(178, 55, 66)
HSLhsl(355, 53%, 46%)
HSVhsv(355, 69%, 70%)
CMYKcmyk(0%, 69.1%, 62.9%, 30.2%)
CIE-LABlab(42.14, 50.26, 22.11)
CIE-LCHlch(42.14, 54.91, 23.75°)
OKLaboklab(52.07% 0.1492 0.0532)
OKLCHoklch(52.07% 0.158 19.6)
XYZxyz(20.7117, 12.5936, 6.4934)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23742 #37B2A7
analogous
#B2377F #B23742 #B26937
triadic
#B23742 #42B237 #3742B2
tetradic
#B23742 #7FB237 #37B2A7 #6937B2
square
#B23742 #7FB237 #37B2A7 #6937B2
split-complementary
#B23742 #37B269 #377FB2
monochromatic
#541A1F #832931 #B23742 #CC5A64 #DB8990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23742#FFFFFF#000000##FFFFFF
##B237421.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)
#585342
Deuteranopia (green-blind)
#776D3F
Tritanopia (blue-blind)
#C3173C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23742;
/* rgb */ color: rgb(178, 55, 66);
/* oklch */ color: oklch(52.1% 0.158 19.6);
Tailwind
colors: {
  custom: {
    50: '#d07676',
    500: '#b23742',
    950: '#000000',
  },
}
SCSS
$custom: #b23742;
$custom-light: #d07676;
$custom-dark: #000000;
JSON
{
  "hex": "#b23742",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 66
  },
  "hsl": {
    "h": 354.634,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.15843,
    "h": 19.6
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#B23742
secondary
#80C5BE
accent
#DCCF4C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23742

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

Preview Lab → · Contrast checker → · Palette generator →

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