#B23240#B23240

#B23240 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.164 H 19.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B23240
RGBrgb(178, 50, 64)
HSLhsl(353, 56%, 45%)
HSVhsv(353, 72%, 70%)
CMYKcmyk(0%, 71.9%, 64%, 30.2%)
CIE-LABlab(41.41, 52.07, 22.39)
CIE-LCHlch(41.41, 56.68, 23.27°)
OKLaboklab(51.51% 0.1546 0.0537)
OKLCHoklch(51.51% 0.164 19.1)
XYZxyz(20.4282, 12.1193, 6.1131)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23240 #32B2A4
analogous
#B23280 #B23240 #B26432
triadic
#B23240 #40B232 #3240B2
tetradic
#B23240 #80B232 #32B2A4 #6432B2
square
#B23240 #80B232 #32B2A4 #6432B2
split-complementary
#B23240 #32B264 #3280B2
monochromatic
#52171E #82252F #B23240 #CF5360 #DC828C

Accessibility & contrast

On white

6.13
#B23240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B23240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23240
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23240#FFFFFF#000000##FFFFFF
##B232401.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#756C3C
Tritanopia (blue-blind)
#C30838
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23240;
/* rgb */ color: rgb(178, 50, 64);
/* oklch */ color: oklch(51.5% 0.164 19.1);
Tailwind
colors: {
  custom: {
    50: '#d07374',
    500: '#b23240',
    950: '#000000',
  },
}
SCSS
$custom: #b23240;
$custom-light: #d07374;
$custom-dark: #000000;
JSON
{
  "hex": "#b23240",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 64
  },
  "hsl": {
    "h": 353.438,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.16364,
    "h": 19.1
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#B23240
secondary
#7BC5BD
accent
#DFCF48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23240

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

Preview Lab → · Contrast checker → · Palette generator →

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