#B23788#B23788

#B23788 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.179 H 344.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B23788
RGBrgb(178, 55, 136)
HSLhsl(320, 53%, 46%)
HSVhsv(320, 69%, 70%)
CMYKcmyk(0%, 69.1%, 23.6%, 30.2%)
CIE-LABlab(44.20, 57.29, -18.20)
CIE-LCHlch(44.20, 60.12, 342.37°)
OKLaboklab(54.26% 0.1727 -0.0485)
OKLCHoklch(54.26% 0.179 344.3)
XYZxyz(24.1711, 13.9774, 24.7127)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23788 #37B261
analogous
#9E37B2 #B23788 #B2374A
triadic
#B23788 #88B237 #3788B2
tetradic
#B23788 #B29E37 #37B261 #374AB2
square
#B23788 #B29E37 #37B261 #374AB2
split-complementary
#B23788 #4AB237 #37B29E
monochromatic
#541A41 #832964 #B23788 #CC5AA5 #DB89BF

Accessibility & contrast

On white

5.53
#B23788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B23788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23788
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23788#FFFFFF#000000##FFFFFF
##B237881.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B8A
Deuteranopia (green-blind)
#697085
Tritanopia (blue-blind)
#BE365A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23788;
/* rgb */ color: rgb(178, 55, 136);
/* oklch */ color: oklch(54.3% 0.179 344.3);
Tailwind
colors: {
  custom: {
    50: '#cd78aa',
    500: '#b23788',
    950: '#000000',
  },
}
SCSS
$custom: #b23788;
$custom-light: #cd78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23788",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 320.488,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.17938,
    "h": 344.3
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#B23788
secondary
#80C598
accent
#DC7D4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23788

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

Preview Lab → · Contrast checker → · Palette generator →

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