#B23951#B23951

#B23951 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.6% C 0.156 H 12.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B23951
RGBrgb(178, 57, 81)
HSLhsl(348, 51%, 46%)
HSVhsv(348, 68%, 70%)
CMYKcmyk(0%, 68%, 54.5%, 30.2%)
CIE-LABlab(42.75, 50.54, 13.63)
CIE-LCHlch(42.75, 52.34, 15.09°)
OKLaboklab(52.62% 0.1526 0.0343)
OKLCHoklch(52.62% 0.156 12.7)
XYZxyz(21.3103, 12.9882, 9.1678)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23951 #39B29A
analogous
#B2398D #B23951 #B25D39
triadic
#B23951 #51B239 #3951B2
tetradic
#B23951 #8DB239 #39B29A #5D39B2
square
#B23951 #8DB239 #39B29A #5D39B2
split-complementary
#B23951 #39B25D #398DB2
monochromatic
#551B27 #842A3C #B23951 #CB5D73 #DA8B9B

Accessibility & contrast

On white

5.84
#B23951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B23951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23951
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23951#FFFFFF#000000##FFFFFF
##B239511.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565551
Deuteranopia (green-blind)
#766E4E
Tritanopia (blue-blind)
#C22143
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23951;
/* rgb */ color: rgb(178, 57, 81);
/* oklch */ color: oklch(52.6% 0.156 12.7);
Tailwind
colors: {
  custom: {
    50: '#cf7781',
    500: '#b23951',
    950: '#000000',
  },
}
SCSS
$custom: #b23951;
$custom-light: #cf7781;
$custom-dark: #000000;
JSON
{
  "hex": "#b23951",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 81
  },
  "hsl": {
    "h": 348.099,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.15644,
    "h": 12.7
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#B23951
secondary
#82C4B7
accent
#DBBF4D
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23951

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

Preview Lab → · Contrast checker → · Palette generator →

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