#B23251#B23251

#B23251 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.9% C 0.164 H 10.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B23251
RGBrgb(178, 50, 81)
HSLhsl(345, 56%, 45%)
HSVhsv(345, 72%, 70%)
CMYKcmyk(0%, 71.9%, 54.5%, 30.2%)
CIE-LABlab(41.76, 53.26, 12.26)
CIE-LCHlch(41.76, 54.66, 12.97°)
OKLaboklab(51.89% 0.1613 0.031)
OKLCHoklch(51.89% 0.164 10.9)
XYZxyz(20.9878, 12.3432, 9.0603)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23251 #32B293
analogous
#B23291 #B23251 #B25332
triadic
#B23251 #51B232 #3251B2
tetradic
#B23251 #91B232 #32B293 #5332B2
square
#B23251 #91B232 #32B293 #5332B2
split-complementary
#B23251 #32B253 #3291B2
monochromatic
#521726 #82253B #B23251 #CF5371 #DC8298

Accessibility & contrast

On white

6.06
#B23251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B23251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23251
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23251#FFFFFF#000000##FFFFFF
##B232511.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525251
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#C2143F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23251;
/* rgb */ color: rgb(178, 50, 81);
/* oklch */ color: oklch(51.9% 0.164 10.9);
Tailwind
colors: {
  custom: {
    50: '#cf7481',
    500: '#b23251',
    950: '#000000',
  },
}
SCSS
$custom: #b23251;
$custom-light: #cf7481;
$custom-dark: #000000;
JSON
{
  "hex": "#b23251",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 81
  },
  "hsl": {
    "h": 345.469,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.16429,
    "h": 10.9
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#B23251
secondary
#7BC5B3
accent
#DFBB48
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23251

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

Preview Lab → · Contrast checker → · Palette generator →

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