#B23D8F#B23D8F

#B23D8F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.176 H 341.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B23D8F
RGBrgb(178, 61, 143)
HSLhsl(318, 49%, 47%)
HSVhsv(318, 66%, 70%)
CMYKcmyk(0%, 65.7%, 19.7%, 30.2%)
CIE-LABlab(45.34, 55.90, -20.69)
CIE-LCHlch(45.34, 59.60, 339.69°)
OKLaboklab(55.19% 0.1669 -0.0555)
OKLCHoklch(55.19% 0.176 341.6)
XYZxyz(24.9874, 14.7880, 27.5197)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23D8F #3DB260
analogous
#9B3DB2 #B23D8F #B23D54
triadic
#B23D8F #8FB23D #3D8FB2
tetradic
#B23D8F #B29B3D #3DB260 #3D54B2
square
#B23D8F #B29B3D #3DB260 #3D54B2
split-complementary
#B23D8F #54B23D #3DB29B
monochromatic
#571E46 #842D6A #B23D8F #C963AB #D990C3

Accessibility & contrast

On white

5.31
#B23D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B23D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23D8F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23D8F#FFFFFF#000000##FFFFFF
##B23D8F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#BD3F60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23d8f;
/* rgb */ color: rgb(178, 61, 143);
/* oklch */ color: oklch(55.2% 0.176 341.6);
Tailwind
colors: {
  custom: {
    50: '#cc7bb0',
    500: '#b23d8f',
    950: '#000000',
  },
}
SCSS
$custom: #b23d8f;
$custom-light: #cc7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23d8f",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 317.949,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.1759,
    "h": 341.6
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#B23D8F
secondary
#87C499
accent
#D9784F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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