#B23947#B23947

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

Color values

HEX#B23947
RGBrgb(178, 57, 71)
HSLhsl(353, 51%, 46%)
HSVhsv(353, 68%, 70%)
CMYKcmyk(0%, 68%, 60.1%, 30.2%)
CIE-LABlab(42.53, 49.79, 19.54)
CIE-LCHlch(42.53, 53.48, 21.43°)
OKLaboklab(52.4% 0.1486 0.0477)
OKLCHoklch(52.4% 0.156 17.8)
XYZxyz(20.9626, 12.8491, 7.3363)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23947 #39B2A4
analogous
#B23983 #B23947 #B26739
triadic
#B23947 #47B239 #3947B2
tetradic
#B23947 #83B239 #39B2A4 #6739B2
square
#B23947 #83B239 #39B2A4 #6739B2
split-complementary
#B23947 #39B267 #3983B2
monochromatic
#551B22 #842A35 #B23947 #CB5D6A #DA8B95

Accessibility & contrast

On white

5.88
#B23947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B23947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23947
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23947#FFFFFF#000000##FFFFFF
##B239471.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585447
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#C31D3F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23947;
/* rgb */ color: rgb(178, 57, 71);
/* oklch */ color: oklch(52.4% 0.156 17.8);
Tailwind
colors: {
  custom: {
    50: '#cf777a',
    500: '#b23947',
    950: '#000000',
  },
}
SCSS
$custom: #b23947;
$custom-light: #cf777a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23947",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 71
  },
  "hsl": {
    "h": 353.058,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.15611,
    "h": 17.8
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#B23947
secondary
#82C4BD
accent
#DBCB4D
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #B23947

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

Preview Lab → · Contrast checker → · Palette generator →

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