#B23151#B23151

#B23151 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.8% C 0.165 H 10.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B23151
RGBrgb(178, 49, 81)
HSLhsl(345, 57%, 45%)
HSVhsv(345, 72%, 70%)
CMYKcmyk(0%, 72.5%, 54.5%, 30.2%)
CIE-LABlab(41.62, 53.63, 12.08)
CIE-LCHlch(41.62, 54.97, 12.70°)
OKLaboklab(51.79% 0.1625 0.0306)
OKLCHoklch(51.79% 0.165 10.7)
XYZxyz(20.9455, 12.2586, 9.0462)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23151 #31B292
analogous
#B23192 #B23151 #B25131
triadic
#B23151 #51B231 #3151B2
tetradic
#B23151 #92B231 #31B292 #5131B2
square
#B23151 #92B231 #31B292 #5131B2
split-complementary
#B23151 #31B251 #3192B2
monochromatic
#521725 #82243B #B23151 #CF5170 #DC8198

Accessibility & contrast

On white

6.08
#B23151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B23151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23151
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23151#FFFFFF#000000##FFFFFF
##B231511.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23151;
/* rgb */ color: rgb(178, 49, 81);
/* oklch */ color: oklch(51.8% 0.165 10.7);
Tailwind
colors: {
  custom: {
    50: '#cf7381',
    500: '#b23151',
    950: '#000000',
  },
}
SCSS
$custom: #b23151;
$custom-light: #cf7381;
$custom-dark: #000000;
JSON
{
  "hex": "#b23151",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 345.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.16537,
    "h": 10.7
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#B23151
secondary
#79C5B3
accent
#E0BA48
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23151

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

Preview Lab → · Contrast checker → · Palette generator →

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