#B23A52#B23A52

#B23A52 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.8% C 0.155 H 12.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B23A52
RGBrgb(178, 58, 82)
HSLhsl(348, 51%, 46%)
HSVhsv(348, 67%, 70%)
CMYKcmyk(0%, 67.4%, 53.9%, 30.2%)
CIE-LABlab(42.92, 50.21, 13.24)
CIE-LCHlch(42.92, 51.93, 14.77°)
OKLaboklab(52.76% 0.1517 0.0334)
OKLCHoklch(52.76% 0.155 12.4)
XYZxyz(21.3980, 13.1031, 9.3834)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A52 #3AB29A
analogous
#B23A8E #B23A52 #B25E3A
triadic
#B23A52 #52B23A #3A52B2
tetradic
#B23A52 #8EB23A #3AB29A #5E3AB2
square
#B23A52 #8EB23A #3AB29A #5E3AB2
split-complementary
#B23A52 #3AB25E #3A8EB2
monochromatic
#561C27 #842B3D #B23A52 #CB5F74 #DA8D9C

Accessibility & contrast

On white

5.80
#B23A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B23A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A52
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A52#FFFFFF#000000##FFFFFF
##B23A521.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575652
Deuteranopia (green-blind)
#766E4F
Tritanopia (blue-blind)
#C22344
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23a52;
/* rgb */ color: rgb(178, 58, 82);
/* oklch */ color: oklch(52.8% 0.155 12.4);
Tailwind
colors: {
  custom: {
    50: '#cf7882',
    500: '#b23a52',
    950: '#000000',
  },
}
SCSS
$custom: #b23a52;
$custom-light: #cf7882;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a52",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 82
  },
  "hsl": {
    "h": 348,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.15536,
    "h": 12.4
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#B23A52
secondary
#83C4B7
accent
#DABE4D
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23A52

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

Preview Lab → · Contrast checker → · Palette generator →

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