#B23588#B23588

#B23588 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.182 H 344.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B23588
RGBrgb(178, 53, 136)
HSLhsl(320, 54%, 45%)
HSVhsv(320, 70%, 70%)
CMYKcmyk(0%, 70.2%, 23.6%, 30.2%)
CIE-LABlab(43.93, 58.04, -18.62)
CIE-LCHlch(43.93, 60.96, 342.22°)
OKLaboklab(54.07% 0.175 -0.0496)
OKLCHoklch(54.07% 0.182 344.2)
XYZxyz(24.0780, 13.7912, 24.6817)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23588 #35B25F
analogous
#9D35B2 #B23588 #B23549
triadic
#B23588 #88B235 #3588B2
tetradic
#B23588 #B29D35 #35B25F #3549B2
square
#B23588 #B29D35 #35B25F #3549B2
split-complementary
#B23588 #49B235 #35B29D
monochromatic
#541940 #832764 #B23588 #CD57A5 #DB86BF

Accessibility & contrast

On white

5.59
#B23588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B23588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23588
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23588#FFFFFF#000000##FFFFFF
##B235881.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A8A
Deuteranopia (green-blind)
#686F85
Tritanopia (blue-blind)
#BE345A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23588;
/* rgb */ color: rgb(178, 53, 136);
/* oklch */ color: oklch(54.1% 0.182 344.2);
Tailwind
colors: {
  custom: {
    50: '#cd77aa',
    500: '#b23588',
    950: '#000000',
  },
}
SCSS
$custom: #b23588;
$custom-light: #cd77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23588",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 320.16,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.1819,
    "h": 344.2
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#B23588
secondary
#7EC596
accent
#DD7C4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23588

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

Preview Lab → · Contrast checker → · Palette generator →

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