#B23396#B23396

#B23396 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.193 H 338.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B23396
RGBrgb(178, 51, 150)
HSLhsl(313, 55%, 45%)
HSVhsv(313, 71%, 70%)
CMYKcmyk(0%, 71.3%, 15.7%, 30.2%)
CIE-LABlab(44.29, 60.72, -26.54)
CIE-LCHlch(44.29, 66.27, 336.39°)
OKLaboklab(54.53% 0.1796 -0.072)
OKLCHoklch(54.53% 0.193 338.2)
XYZxyz(25.0495, 14.0370, 30.2384)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23396 #33B24F
analogous
#8E33B2 #B23396 #B23357
triadic
#B23396 #96B233 #3396B2
tetradic
#B23396 #B28E33 #33B24F #3357B2
square
#B23396 #B28E33 #33B24F #3357B2
split-complementary
#B23396 #57B233 #33B28E
monochromatic
#531846 #82256E #B23396 #CE54B3 #DC84C8

Accessibility & contrast

On white

5.52
#B23396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B23396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23396
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23396#FFFFFF#000000##FFFFFF
##B233961.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#627093
Tritanopia (blue-blind)
#BC3960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23396;
/* rgb */ color: rgb(178, 51, 150);
/* oklch */ color: oklch(54.5% 0.193 338.2);
Tailwind
colors: {
  custom: {
    50: '#cd76b5',
    500: '#b23396',
    950: '#000000',
  },
}
SCSS
$custom: #b23396;
$custom-light: #cd76b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23396",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 313.228,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.19345,
    "h": 338.2
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#B23396
secondary
#7CC58C
accent
#DF6A49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23396

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

Preview Lab → · Contrast checker → · Palette generator →

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