#B23A87#B23A87

#B23A87 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.175 H 345.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B23A87
RGBrgb(178, 58, 135)
HSLhsl(322, 51%, 46%)
HSVhsv(322, 67%, 70%)
CMYKcmyk(0%, 67.4%, 24.2%, 30.2%)
CIE-LABlab(44.58, 55.99, -17.02)
CIE-LCHlch(44.58, 58.52, 343.10°)
OKLaboklab(54.53% 0.1689 -0.0452)
OKLCHoklch(54.53% 0.175 345)
XYZxyz(24.2472, 14.2428, 24.3891)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A87 #3AB265
analogous
#A13AB2 #B23A87 #B23A4B
triadic
#B23A87 #87B23A #3A87B2
tetradic
#B23A87 #B2A13A #3AB265 #3A4BB2
square
#B23A87 #B2A13A #3AB265 #3A4BB2
split-complementary
#B23A87 #4BB23A #3AB2A1
monochromatic
#561C41 #842B64 #B23A87 #CB5FA4 #DA8DBE

Accessibility & contrast

On white

5.46
#B23A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B23A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A87
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A87#FFFFFF#000000##FFFFFF
##B23A871.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D89
Deuteranopia (green-blind)
#6A7184
Tritanopia (blue-blind)
#BE395B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23a87;
/* rgb */ color: rgb(178, 58, 135);
/* oklch */ color: oklch(54.5% 0.175 345.0);
Tailwind
colors: {
  custom: {
    50: '#cd79aa',
    500: '#b23a87',
    950: '#000000',
  },
}
SCSS
$custom: #b23a87;
$custom-light: #cd79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a87",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 321.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.17485,
    "h": 345
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#B23A87
secondary
#83C49B
accent
#DA804D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23A87

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

Preview Lab → · Contrast checker → · Palette generator →

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