#B23D8A#B23D8A

#B23D8A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.173 H 343.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B23D8A
RGBrgb(178, 61, 138)
HSLhsl(321, 49%, 47%)
HSVhsv(321, 66%, 70%)
CMYKcmyk(0%, 65.7%, 22.5%, 30.2%)
CIE-LABlab(45.14, 55.19, -17.98)
CIE-LCHlch(45.14, 58.05, 341.95°)
OKLaboklab(54.98% 0.1659 -0.0479)
OKLCHoklch(54.98% 0.173 343.9)
XYZxyz(24.6171, 14.6398, 25.5691)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23D8A #3DB265
analogous
#A03DB2 #B23D8A #B23D50
triadic
#B23D8A #8AB23D #3D8AB2
tetradic
#B23D8A #B2A03D #3DB265 #3D50B2
square
#B23D8A #B2A03D #3DB265 #3D50B2
split-complementary
#B23D8A #50B23D #3DB2A0
monochromatic
#571E43 #842D67 #B23D8A #C963A6 #D990C0

Accessibility & contrast

On white

5.35
#B23D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B23D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23D8A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23D8A#FFFFFF#000000##FFFFFF
##B23D8A1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#6B7287
Tritanopia (blue-blind)
#BD3D5E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23d8a;
/* rgb */ color: rgb(178, 61, 138);
/* oklch */ color: oklch(55.0% 0.173 343.9);
Tailwind
colors: {
  custom: {
    50: '#cc7bac',
    500: '#b23d8a',
    950: '#000000',
  },
}
SCSS
$custom: #b23d8a;
$custom-light: #cc7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#b23d8a",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 320.513,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.17265,
    "h": 343.9
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#B23D8A
secondary
#87C49C
accent
#D97E4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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