#B23391#B23391

#B23391 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.190 H 340.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B23391
RGBrgb(178, 51, 145)
HSLhsl(316, 55%, 45%)
HSVhsv(316, 71%, 70%)
CMYKcmyk(0%, 71.3%, 18.5%, 30.2%)
CIE-LABlab(44.06, 60.00, -23.88)
CIE-LCHlch(44.06, 64.58, 338.30°)
OKLaboklab(54.29% 0.1788 -0.0644)
OKLCHoklch(54.29% 0.19 340.2)
XYZxyz(24.6554, 13.8793, 28.1631)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23391 #33B254
analogous
#9433B2 #B23391 #B23351
triadic
#B23391 #91B233 #3391B2
tetradic
#B23391 #B29433 #33B254 #3351B2
square
#B23391 #B29433 #33B254 #3351B2
split-complementary
#B23391 #51B233 #33B294
monochromatic
#531843 #82256A #B23391 #CE54AE #DC84C5

Accessibility & contrast

On white

5.56
#B23391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B23391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23391
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23391#FFFFFF#000000##FFFFFF
##B233911.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B94
Deuteranopia (green-blind)
#646F8E
Tritanopia (blue-blind)
#BC375E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23391;
/* rgb */ color: rgb(178, 51, 145);
/* oklch */ color: oklch(54.3% 0.190 340.2);
Tailwind
colors: {
  custom: {
    50: '#cd76b1',
    500: '#b23391',
    950: '#000000',
  },
}
SCSS
$custom: #b23391;
$custom-light: #cd76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23391",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 315.591,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.19008,
    "h": 340.2
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#B23391
secondary
#7CC58F
accent
#DF7049
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23391

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

Preview Lab → · Contrast checker → · Palette generator →

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