#B23A97#B23A97

#B23A97 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.185 H 338.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B23A97
RGBrgb(178, 58, 151)
HSLhsl(314, 51%, 46%)
HSVhsv(314, 67%, 70%)
CMYKcmyk(0%, 67.4%, 15.2%, 30.2%)
CIE-LABlab(45.26, 58.26, -25.63)
CIE-LCHlch(45.26, 63.65, 336.25°)
OKLaboklab(55.25% 0.1719 -0.0694)
OKLCHoklch(55.25% 0.185 338)
XYZxyz(25.4595, 14.7277, 30.7740)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A97 #3AB255
analogous
#913AB2 #B23A97 #B23A5B
triadic
#B23A97 #97B23A #3A97B2
tetradic
#B23A97 #B2913A #3AB255 #3A5BB2
square
#B23A97 #B2913A #3AB255 #3A5BB2
split-complementary
#B23A97 #5BB23A #3AB291
monochromatic
#561C49 #842B70 #B23A97 #CB5FB2 #DA8DC8

Accessibility & contrast

On white

5.32
#B23A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B23A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A97
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A97#FFFFFF#000000##FFFFFF
##B23A971.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9A
Deuteranopia (green-blind)
#657294
Tritanopia (blue-blind)
#BC3F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23a97;
/* rgb */ color: rgb(178, 58, 151);
/* oklch */ color: oklch(55.2% 0.185 338.0);
Tailwind
colors: {
  custom: {
    50: '#cc79b6',
    500: '#b23a97',
    950: '#000000',
  },
}
SCSS
$custom: #b23a97;
$custom-light: #cc79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a97",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 313.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.18541,
    "h": 338
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#B23A97
secondary
#83C492
accent
#DA6D4D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B23A97

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

Preview Lab → · Contrast checker → · Palette generator →

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