#B23148#B23148

#B23148 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.165 H 15.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B23148
RGBrgb(178, 49, 72)
HSLhsl(349, 57%, 45%)
HSVhsv(349, 72%, 70%)
CMYKcmyk(0%, 72.5%, 59.6%, 30.2%)
CIE-LABlab(41.43, 52.96, 17.45)
CIE-LCHlch(41.43, 55.76, 18.23°)
OKLaboklab(51.58% 0.159 0.0429)
OKLCHoklch(51.58% 0.165 15.1)
XYZxyz(20.6301, 12.1324, 7.3851)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23148 #31B29B
analogous
#B23189 #B23148 #B25A31
triadic
#B23148 #48B231 #3148B2
tetradic
#B23148 #89B231 #31B29B #5A31B2
square
#B23148 #89B231 #31B29B #5A31B2
split-complementary
#B23148 #31B25A #3189B2
monochromatic
#521721 #822435 #B23148 #CF5168 #DC8191

Accessibility & contrast

On white

6.13
#B23148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B23148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23148
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23148#FFFFFF#000000##FFFFFF
##B231481.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535148
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#C30B3B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23148;
/* rgb */ color: rgb(178, 49, 72);
/* oklch */ color: oklch(51.6% 0.165 15.1);
Tailwind
colors: {
  custom: {
    50: '#d0737a',
    500: '#b23148',
    950: '#000000',
  },
}
SCSS
$custom: #b23148;
$custom-light: #d0737a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23148",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 72
  },
  "hsl": {
    "h": 349.302,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.16465,
    "h": 15.1
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#B23148
secondary
#79C5B8
accent
#E0C548
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #B23148

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

Preview Lab → · Contrast checker → · Palette generator →

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