#B23B8D#B23B8D

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

Color values

HEX#B23B8D
RGBrgb(178, 59, 141)
HSLhsl(319, 50%, 46%)
HSVhsv(319, 67%, 70%)
CMYKcmyk(0%, 66.9%, 20.8%, 30.2%)
CIE-LABlab(44.97, 56.42, -20.06)
CIE-LCHlch(44.97, 59.88, 340.43°)
OKLaboklab(54.89% 0.169 -0.0537)
OKLCHoklch(54.89% 0.177 342.4)
XYZxyz(24.7325, 14.5184, 26.6939)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23B8D #3BB260
analogous
#9C3BB2 #B23B8D #B23B52
triadic
#B23B8D #8DB23B #3B8DB2
tetradic
#B23B8D #B29C3B #3BB260 #3B52B2
square
#B23B8D #B29C3B #3BB260 #3B52B2
split-complementary
#B23B8D #52B23B #3BB29C
monochromatic
#561D44 #842C69 #B23B8D #CA60A9 #DA8EC2

Accessibility & contrast

On white

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

On black

3.90
#B23B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23B8D#FFFFFF#000000##FFFFFF
##B23B8D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#69728A
Tritanopia (blue-blind)
#BD3C5F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23b8d;
/* rgb */ color: rgb(178, 59, 141);
/* oklch */ color: oklch(54.9% 0.177 342.4);
Tailwind
colors: {
  custom: {
    50: '#cc7aae',
    500: '#b23b8d',
    950: '#000000',
  },
}
SCSS
$custom: #b23b8d;
$custom-light: #cc7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#b23b8d",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 318.655,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.1773,
    "h": 342.4
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#B23B8D
secondary
#85C498
accent
#DA794E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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