#B23040#B23040

#B23040 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 18.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B23040
RGBrgb(178, 48, 64)
HSLhsl(353, 58%, 44%)
HSVhsv(353, 73%, 70%)
CMYKcmyk(0%, 73%, 64%, 30.2%)
CIE-LABlab(41.14, 52.80, 22.05)
CIE-LCHlch(41.14, 57.22, 22.67°)
OKLaboklab(51.31% 0.1569 0.0529)
OKLCHoklch(51.31% 0.166 18.6)
XYZxyz(20.3446, 11.9520, 6.0852)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23040 #30B2A2
analogous
#B23081 #B23040 #B26130
triadic
#B23040 #40B230 #3040B2
tetradic
#B23040 #81B230 #30B2A2 #6130B2
square
#B23040 #81B230 #30B2A2 #6130B2
split-complementary
#B23040 #30B261 #3081B2
monochromatic
#52161D #82232F #B23040 #D0505F #DD808B

Accessibility & contrast

On white

6.20
#B23040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B23040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23040
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23040#FFFFFF#000000##FFFFFF
##B230401.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545040
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#C30137
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b23040;
/* rgb */ color: rgb(178, 48, 64);
/* oklch */ color: oklch(51.3% 0.166 18.6);
Tailwind
colors: {
  custom: {
    50: '#d07274',
    500: '#b23040',
    950: '#000000',
  },
}
SCSS
$custom: #b23040;
$custom-light: #d07274;
$custom-dark: #000000;
JSON
{
  "hex": "#b23040",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 352.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51314,
    "c": 0.16562,
    "h": 18.6
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#B23040
secondary
#78C6BC
accent
#E1CE47
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23040

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

Preview Lab → · Contrast checker → · Palette generator →

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