#B23387#B23387

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

Color values

HEX#B23387
RGBrgb(178, 51, 135)
HSLhsl(320, 55%, 45%)
HSVhsv(320, 71%, 70%)
CMYKcmyk(0%, 71.3%, 24.2%, 30.2%)
CIE-LABlab(43.63, 58.64, -18.47)
CIE-LCHlch(43.63, 61.48, 342.52°)
OKLaboklab(53.84% 0.177 -0.0492)
OKLCHoklch(53.84% 0.184 344.5)
XYZxyz(23.9180, 13.5844, 24.2794)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23387 #33B25E
analogous
#9E33B2 #B23387 #B23347
triadic
#B23387 #87B233 #3387B2
tetradic
#B23387 #B29E33 #33B25E #3347B2
square
#B23387 #B29E33 #33B25E #3347B2
split-complementary
#B23387 #47B233 #33B29E
monochromatic
#53183F #822563 #B23387 #CE54A5 #DC84BE

Accessibility & contrast

On white

5.65
#B23387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B23387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23387
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23387#FFFFFF#000000##FFFFFF
##B233871.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#BE3258
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23387;
/* rgb */ color: rgb(178, 51, 135);
/* oklch */ color: oklch(53.8% 0.184 344.5);
Tailwind
colors: {
  custom: {
    50: '#cd76aa',
    500: '#b23387',
    950: '#000000',
  },
}
SCSS
$custom: #b23387;
$custom-light: #cd76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23387",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 320.315,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.18375,
    "h": 344.5
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23387

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

Preview Lab → · Contrast checker → · Palette generator →

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