#B23C8F#B23C8F

#B23C8F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.177 H 341.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B23C8F
RGBrgb(178, 60, 143)
HSLhsl(318, 50%, 47%)
HSVhsv(318, 66%, 70%)
CMYKcmyk(0%, 66.3%, 19.7%, 30.2%)
CIE-LABlab(45.20, 56.30, -20.91)
CIE-LCHlch(45.20, 60.06, 339.62°)
OKLaboklab(55.09% 0.1682 -0.0561)
OKLCHoklch(55.09% 0.177 341.5)
XYZxyz(24.9346, 14.6822, 27.5020)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23C8F #3CB25F
analogous
#9A3CB2 #B23C8F #B23C54
triadic
#B23C8F #8FB23C #3C8FB2
tetradic
#B23C8F #B29A3C #3CB25F #3C54B2
square
#B23C8F #B29A3C #3CB25F #3C54B2
split-complementary
#B23C8F #54B23C #3CB29A
monochromatic
#561D45 #842D6A #B23C8F #CA61AB #D98FC3

Accessibility & contrast

On white

5.34
#B23C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23C8F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23C8F#FFFFFF#000000##FFFFFF
##B23C8F1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#BD3E60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23c8f;
/* rgb */ color: rgb(178, 60, 143);
/* oklch */ color: oklch(55.1% 0.177 341.5);
Tailwind
colors: {
  custom: {
    50: '#cc7ab0',
    500: '#b23c8f',
    950: '#000000',
  },
}
SCSS
$custom: #b23c8f;
$custom-light: #cc7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23c8f",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 317.797,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.17727,
    "h": 341.5
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#B23C8F
secondary
#86C498
accent
#D9784F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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