#B23840#B23840

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

Color values

HEX#B23840
RGBrgb(178, 56, 64)
HSLhsl(356, 52%, 46%)
HSVhsv(356, 69%, 70%)
CMYKcmyk(0%, 68.5%, 64%, 30.2%)
CIE-LABlab(42.26, 49.73, 23.48)
CIE-LCHlch(42.26, 54.99, 25.27°)
OKLaboklab(52.15% 0.1472 0.0562)
OKLCHoklch(52.15% 0.158 20.9)
XYZxyz(20.7018, 12.6664, 6.2043)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23840 #38B2AA
analogous
#B2387D #B23840 #B26D38
triadic
#B23840 #40B238 #3840B2
tetradic
#B23840 #7DB238 #38B2AA #6D38B2
square
#B23840 #7DB238 #38B2AA #6D38B2
split-complementary
#B23840 #38B26D #387DB2
monochromatic
#551B1F #83292F #B23840 #CC5C63 #DA8A8F

Accessibility & contrast

On white

5.94
#B23840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B23840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23840
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23840#FFFFFF#000000##FFFFFF
##B238401.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59533F
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#C3193C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23840;
/* rgb */ color: rgb(178, 56, 64);
/* oklch */ color: oklch(52.1% 0.158 20.9);
Tailwind
colors: {
  custom: {
    50: '#d07674',
    500: '#b23840',
    950: '#000000',
  },
}
SCSS
$custom: #b23840;
$custom-light: #d07674;
$custom-dark: #000000;
JSON
{
  "hex": "#b23840",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 356.066,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.1575,
    "h": 20.9
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#B23840
secondary
#81C5C0
accent
#DCD24C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B23840

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

Preview Lab → · Contrast checker → · Palette generator →

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