#B23940#B23940

#B23940 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.3% C 0.156 H 21.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B23940
RGBrgb(178, 57, 64)
HSLhsl(357, 51%, 46%)
HSVhsv(357, 68%, 70%)
CMYKcmyk(0%, 68%, 64%, 30.2%)
CIE-LABlab(42.41, 49.32, 23.67)
CIE-LCHlch(42.41, 54.71, 25.64°)
OKLaboklab(52.26% 0.1459 0.0566)
OKLCHoklch(52.26% 0.156 21.2)
XYZxyz(20.7507, 12.7643, 6.2206)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23940 #39B2AB
analogous
#B2397C #B23940 #B26E39
triadic
#B23940 #40B239 #3940B2
tetradic
#B23940 #7CB239 #39B2AB #6E39B2
square
#B23940 #7CB239 #39B2AB #6E39B2
split-complementary
#B23940 #39B26E #397CB2
monochromatic
#551B1F #842A2F #B23940 #CB5D63 #DA8B90

Accessibility & contrast

On white

5.91
#B23940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B23940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23940
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23940#FFFFFF#000000##FFFFFF
##B239401.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543F
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#C31B3D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23940;
/* rgb */ color: rgb(178, 57, 64);
/* oklch */ color: oklch(52.3% 0.156 21.2);
Tailwind
colors: {
  custom: {
    50: '#d07774',
    500: '#b23940',
    950: '#000000',
  },
}
SCSS
$custom: #b23940;
$custom-light: #d07774;
$custom-dark: #000000;
JSON
{
  "hex": "#b23940",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 356.529,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.15644,
    "h": 21.2
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#B23940
secondary
#82C4C1
accent
#DBD34D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23940

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

Preview Lab → · Contrast checker → · Palette generator →

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