#B23C8A#B23C8A

#B23C8A is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.174 H 343.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B23C8A
RGBrgb(178, 60, 138)
HSLhsl(320, 50%, 47%)
HSVhsv(320, 66%, 70%)
CMYKcmyk(0%, 66.3%, 22.5%, 30.2%)
CIE-LABlab(44.99, 55.60, -18.21)
CIE-LCHlch(44.99, 58.51, 341.87°)
OKLaboklab(54.87% 0.1671 -0.0485)
OKLCHoklch(54.87% 0.174 343.8)
XYZxyz(24.5642, 14.5341, 25.5515)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23C8A #3CB264
analogous
#9F3CB2 #B23C8A #B23C4F
triadic
#B23C8A #8AB23C #3C8AB2
tetradic
#B23C8A #B29F3C #3CB264 #3C4FB2
square
#B23C8A #B29F3C #3CB264 #3C4FB2
split-complementary
#B23C8A #4FB23C #3CB29F
monochromatic
#561D43 #842D67 #B23C8A #CA61A6 #D98FC0

Accessibility & contrast

On white

5.38
#B23C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B23C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23C8A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23C8A#FFFFFF#000000##FFFFFF
##B23C8A1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#6A7287
Tritanopia (blue-blind)
#BD3C5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23c8a;
/* rgb */ color: rgb(178, 60, 138);
/* oklch */ color: oklch(54.9% 0.174 343.8);
Tailwind
colors: {
  custom: {
    50: '#cc7aac',
    500: '#b23c8a',
    950: '#000000',
  },
}
SCSS
$custom: #b23c8a;
$custom-light: #cc7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#b23c8a",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 320.339,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.17403,
    "h": 343.8
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#B23C8A
secondary
#86C49B
accent
#D97E4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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