#B23A8D#B23A8D

#B23A8D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.179 H 342.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B23A8D
RGBrgb(178, 58, 141)
HSLhsl(319, 51%, 46%)
HSVhsv(319, 67%, 70%)
CMYKcmyk(0%, 67.4%, 20.8%, 30.2%)
CIE-LABlab(44.82, 56.82, -20.28)
CIE-LCHlch(44.82, 60.33, 340.36°)
OKLaboklab(54.79% 0.1702 -0.0543)
OKLCHoklch(54.79% 0.179 342.3)
XYZxyz(24.6816, 14.4166, 26.6769)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A8D #3AB25F
analogous
#9B3AB2 #B23A8D #B23A51
triadic
#B23A8D #8DB23A #3A8DB2
tetradic
#B23A8D #B29B3A #3AB25F #3A51B2
square
#B23A8D #B29B3A #3AB25F #3A51B2
split-complementary
#B23A8D #51B23A #3AB29B
monochromatic
#561C44 #842B68 #B23A8D #CB5FA9 #DA8DC2

Accessibility & contrast

On white

5.41
#B23A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B23A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A8D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A8D#FFFFFF#000000##FFFFFF
##B23A8D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8F
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#BD3B5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23a8d;
/* rgb */ color: rgb(178, 58, 141);
/* oklch */ color: oklch(54.8% 0.179 342.3);
Tailwind
colors: {
  custom: {
    50: '#cd79ae',
    500: '#b23a8d',
    950: '#000000',
  },
}
SCSS
$custom: #b23a8d;
$custom-light: #cd79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a8d",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 318.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.17863,
    "h": 342.3
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#B23A8D
secondary
#83C497
accent
#DA794D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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