#B23386#B23386

#B23386 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.183 H 344.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B23386
RGBrgb(178, 51, 134)
HSLhsl(321, 55%, 45%)
HSVhsv(321, 71%, 70%)
CMYKcmyk(0%, 71.3%, 24.7%, 30.2%)
CIE-LABlab(43.59, 58.51, -17.92)
CIE-LCHlch(43.59, 61.19, 342.97°)
OKLaboklab(53.79% 0.1768 -0.0477)
OKLCHoklch(53.79% 0.183 344.9)
XYZxyz(23.8479, 13.5564, 23.9103)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23386 #33B25F
analogous
#9E33B2 #B23386 #B23347
triadic
#B23386 #86B233 #3386B2
tetradic
#B23386 #B29E33 #33B25F #3347B2
square
#B23386 #B29E33 #33B25F #3347B2
split-complementary
#B23386 #47B233 #33B29E
monochromatic
#53183E #822562 #B23386 #CE54A4 #DC84BD

Accessibility & contrast

On white

5.66
#B23386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B23386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23386
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23386#FFFFFF#000000##FFFFFF
##B233861.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#686F83
Tritanopia (blue-blind)
#BE3158
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23386;
/* rgb */ color: rgb(178, 51, 134);
/* oklch */ color: oklch(53.8% 0.183 344.9);
Tailwind
colors: {
  custom: {
    50: '#cd76a9',
    500: '#b23386',
    950: '#000000',
  },
}
SCSS
$custom: #b23386;
$custom-light: #cd76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23386",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 320.787,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.18314,
    "h": 344.9
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#B23386
secondary
#7CC595
accent
#DF7D49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23386

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

Preview Lab → · Contrast checker → · Palette generator →

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