#B23A8B#B23A8B

#B23A8B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.177 H 343.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B23A8B
RGBrgb(178, 58, 139)
HSLhsl(320, 51%, 46%)
HSVhsv(320, 67%, 70%)
CMYKcmyk(0%, 67.4%, 21.9%, 30.2%)
CIE-LABlab(44.74, 56.54, -19.19)
CIE-LCHlch(44.74, 59.71, 341.25°)
OKLaboklab(54.7% 0.1698 -0.0513)
OKLCHoklch(54.7% 0.177 343.2)
XYZxyz(24.5341, 14.3576, 25.9003)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A8B #3AB261
analogous
#9D3AB2 #B23A8B #B23A4F
triadic
#B23A8B #8BB23A #3A8BB2
tetradic
#B23A8B #B29D3A #3AB261 #3A4FB2
square
#B23A8B #B29D3A #3AB261 #3A4FB2
split-complementary
#B23A8B #4FB23A #3AB29D
monochromatic
#561C43 #842B67 #B23A8B #CB5FA8 #DA8DC1

Accessibility & contrast

On white

5.42
#B23A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B23A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A8B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A8B#FFFFFF#000000##FFFFFF
##B23A8B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#BD3A5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23a8b;
/* rgb */ color: rgb(178, 58, 139);
/* oklch */ color: oklch(54.7% 0.177 343.2);
Tailwind
colors: {
  custom: {
    50: '#cd79ad',
    500: '#b23a8b',
    950: '#000000',
  },
}
SCSS
$custom: #b23a8b;
$custom-light: #cd79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a8b",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 319.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.547,
    "c": 0.17735,
    "h": 343.2
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#B23A8B
secondary
#83C499
accent
#DA7B4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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