#B23157#B23157

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

Color values

HEX#B23157
RGBrgb(178, 49, 87)
HSLhsl(342, 57%, 45%)
HSVhsv(342, 72%, 70%)
CMYKcmyk(0%, 72.5%, 51.1%, 30.2%)
CIE-LABlab(41.77, 54.12, 8.52)
CIE-LCHlch(41.77, 54.79, 8.95°)
OKLaboklab(51.94% 0.1648 0.022)
OKLCHoklch(51.94% 0.166 7.6)
XYZxyz(21.1806, 12.3526, 10.2839)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23157 #31B28C
analogous
#B23197 #B23157 #B24C31
triadic
#B23157 #57B231 #3157B2
tetradic
#B23157 #97B231 #31B28C #4C31B2
square
#B23157 #97B231 #31B28C #4C31B2
split-complementary
#B23157 #31B24C #3197B2
monochromatic
#521728 #822440 #B23157 #CF5176 #DC819C

Accessibility & contrast

On white

6.05
#B23157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23157
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23157#FFFFFF#000000##FFFFFF
##B231571.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#C21541
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23157;
/* rgb */ color: rgb(178, 49, 87);
/* oklch */ color: oklch(51.9% 0.166 7.6);
Tailwind
colors: {
  custom: {
    50: '#cf7386',
    500: '#b23157',
    950: '#000000',
  },
}
SCSS
$custom: #b23157;
$custom-light: #cf7386;
$custom-dark: #000000;
JSON
{
  "hex": "#b23157",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 342.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.16631,
    "h": 7.6
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#B23157
secondary
#79C5AF
accent
#E0B348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23157

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

Preview Lab → · Contrast checker → · Palette generator →

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