#B23440#B23440

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

Color values

HEX#B23440
RGBrgb(178, 52, 64)
HSLhsl(354, 55%, 45%)
HSVhsv(354, 71%, 70%)
CMYKcmyk(0%, 70.8%, 64%, 30.2%)
CIE-LABlab(41.68, 51.31, 22.74)
CIE-LCHlch(41.68, 56.12, 23.91°)
OKLaboklab(51.72% 0.1522 0.0545)
OKLCHoklch(51.72% 0.162 19.7)
XYZxyz(20.5156, 12.2941, 6.1422)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23440 #34B2A6
analogous
#B2347F #B23440 #B26734
triadic
#B23440 #40B234 #3440B2
tetradic
#B23440 #7FB234 #34B2A6 #6734B2
square
#B23440 #7FB234 #34B2A6 #6734B2
split-complementary
#B23440 #34B267 #347FB2
monochromatic
#53181E #83262F #B23440 #CE5661 #DB858D

Accessibility & contrast

On white

6.07
#B23440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B23440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23440
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23440#FFFFFF#000000##FFFFFF
##B234401.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565140
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#C30F39
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23440;
/* rgb */ color: rgb(178, 52, 64);
/* oklch */ color: oklch(51.7% 0.162 19.7);
Tailwind
colors: {
  custom: {
    50: '#d07474',
    500: '#b23440',
    950: '#000000',
  },
}
SCSS
$custom: #b23440;
$custom-light: #d07474;
$custom-dark: #000000;
JSON
{
  "hex": "#b23440",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 64
  },
  "hsl": {
    "h": 354.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.16164,
    "h": 19.7
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#B23440
secondary
#7DC5BE
accent
#DED04A
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23440

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

Preview Lab → · Contrast checker → · Palette generator →

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