#B23156#B23156

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

Color values

HEX#B23156
RGBrgb(178, 49, 86)
HSLhsl(343, 57%, 45%)
HSVhsv(343, 72%, 70%)
CMYKcmyk(0%, 72.5%, 51.7%, 30.2%)
CIE-LABlab(41.75, 54.04, 9.12)
CIE-LCHlch(41.75, 54.80, 9.58°)
OKLaboklab(51.92% 0.1645 0.0235)
OKLCHoklch(51.92% 0.166 8.1)
XYZxyz(21.1400, 12.3364, 10.0703)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23156 #31B28D
analogous
#B23196 #B23156 #B24D31
triadic
#B23156 #56B231 #3156B2
tetradic
#B23156 #96B231 #31B28D #4D31B2
square
#B23156 #96B231 #31B28D #4D31B2
split-complementary
#B23156 #31B24D #3196B2
monochromatic
#521728 #82243F #B23156 #CF5175 #DC819B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23156#FFFFFF#000000##FFFFFF
##B231561.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)
#505257
Deuteranopia (green-blind)
#726C53
Tritanopia (blue-blind)
#C21540
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23156;
/* rgb */ color: rgb(178, 49, 86);
/* oklch */ color: oklch(51.9% 0.166 8.1);
Tailwind
colors: {
  custom: {
    50: '#cf7385',
    500: '#b23156',
    950: '#000000',
  },
}
SCSS
$custom: #b23156;
$custom-light: #cf7385;
$custom-dark: #000000;
JSON
{
  "hex": "#b23156",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 342.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.16613,
    "h": 8.1
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#B23156
secondary
#79C5B0
accent
#E0B448
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23156

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

Preview Lab → · Contrast checker → · Palette generator →

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