#B23E8D#B23E8D

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

Color values

HEX#B23E8D
RGBrgb(178, 62, 141)
HSLhsl(319, 48%, 47%)
HSVhsv(319, 65%, 70%)
CMYKcmyk(0%, 65.2%, 20.8%, 30.2%)
CIE-LABlab(45.41, 55.20, -19.38)
CIE-LCHlch(45.41, 58.51, 340.66°)
OKLaboklab(55.22% 0.1653 -0.0518)
OKLCHoklch(55.22% 0.173 342.6)
XYZxyz(24.8912, 14.8357, 26.7468)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23E8D #3EB263
analogous
#9D3EB2 #B23E8D #B23E53
triadic
#B23E8D #8DB23E #3E8DB2
tetradic
#B23E8D #B29D3E #3EB263 #3E53B2
square
#B23E8D #B29D3E #3EB263 #3E53B2
split-complementary
#B23E8D #53B23E #3EB29D
monochromatic
#571E45 #852E69 #B23E8D #C964A9 #D992C2

Accessibility & contrast

On white

5.29
#B23E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B23E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23E8D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23E8D#FFFFFF#000000##FFFFFF
##B23E8D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8F
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#BD3F60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23e8d;
/* rgb */ color: rgb(178, 62, 141);
/* oklch */ color: oklch(55.2% 0.173 342.6);
Tailwind
colors: {
  custom: {
    50: '#cc7bae',
    500: '#b23e8d',
    950: '#000000',
  },
}
SCSS
$custom: #b23e8d;
$custom-light: #cc7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#b23e8d",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 319.138,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.1732,
    "h": 342.6
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#B23E8D
secondary
#88C49B
accent
#D87B50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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