#B23256#B23256

#B23256 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.165 H 8.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B23256
RGBrgb(178, 50, 86)
HSLhsl(343, 56%, 45%)
HSVhsv(343, 72%, 70%)
CMYKcmyk(0%, 71.9%, 51.7%, 30.2%)
CIE-LABlab(41.88, 53.67, 9.30)
CIE-LCHlch(41.88, 54.47, 9.83°)
OKLaboklab(52.02% 0.1633 0.0239)
OKLCHoklch(52.02% 0.165 8.3)
XYZxyz(21.1823, 12.4209, 10.0844)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23256 #32B28E
analogous
#B23296 #B23256 #B24E32
triadic
#B23256 #56B232 #3256B2
tetradic
#B23256 #96B232 #32B28E #4E32B2
square
#B23256 #96B232 #32B28E #4E32B2
split-complementary
#B23256 #32B24E #3296B2
monochromatic
#521728 #82253F #B23256 #CF5375 #DC829C

Accessibility & contrast

On white

6.03
#B23256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B23256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23256
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23256#FFFFFF#000000##FFFFFF
##B232561.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515257
Deuteranopia (green-blind)
#726C53
Tritanopia (blue-blind)
#C21741
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23256;
/* rgb */ color: rgb(178, 50, 86);
/* oklch */ color: oklch(52.0% 0.165 8.3);
Tailwind
colors: {
  custom: {
    50: '#cf7485',
    500: '#b23256',
    950: '#000000',
  },
}
SCSS
$custom: #b23256;
$custom-light: #cf7485;
$custom-dark: #000000;
JSON
{
  "hex": "#b23256",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 343.125,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.16502,
    "h": 8.3
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#B23256
secondary
#7BC5B0
accent
#DFB548
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23256

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

Preview Lab → · Contrast checker → · Palette generator →

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