#B23159#B23159

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

Color values

HEX#B23159
RGBrgb(178, 49, 89)
HSLhsl(341, 57%, 45%)
HSVhsv(341, 72%, 70%)
CMYKcmyk(0%, 72.5%, 50%, 30.2%)
CIE-LABlab(41.82, 54.29, 7.34)
CIE-LCHlch(41.82, 54.79, 7.70°)
OKLaboklab(52% 0.1656 0.0192)
OKLCHoklch(52% 0.167 6.6)
XYZxyz(21.2634, 12.3857, 10.7202)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23159 #31B28A
analogous
#B2319A #B23159 #B24931
triadic
#B23159 #59B231 #3159B2
tetradic
#B23159 #9AB231 #31B28A #4931B2
square
#B23159 #9AB231 #31B28A #4931B2
split-complementary
#B23159 #31B249 #319AB2
monochromatic
#521729 #822441 #B23159 #CF5178 #DC819D

Accessibility & contrast

On white

6.04
#B23159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23159
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23159#FFFFFF#000000##FFFFFF
##B231591.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50525A
Deuteranopia (green-blind)
#726C56
Tritanopia (blue-blind)
#C21742
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23159;
/* rgb */ color: rgb(178, 49, 89);
/* oklch */ color: oklch(52.0% 0.167 6.6);
Tailwind
colors: {
  custom: {
    50: '#cf7387',
    500: '#b23159',
    950: '#000000',
  },
}
SCSS
$custom: #b23159;
$custom-light: #cf7387;
$custom-dark: #000000;
JSON
{
  "hex": "#b23159",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 341.395,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52,
    "c": 0.16669,
    "h": 6.6
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#B23159
secondary
#79C5AE
accent
#E0B148
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23159

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

Preview Lab → · Contrast checker → · Palette generator →

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