#B23E87#B23E87

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

Color values

HEX#B23E87
RGBrgb(178, 62, 135)
HSLhsl(322, 48%, 47%)
HSVhsv(322, 65%, 70%)
CMYKcmyk(0%, 65.2%, 24.2%, 30.2%)
CIE-LABlab(45.17, 54.37, -16.12)
CIE-LCHlch(45.17, 56.71, 343.49°)
OKLaboklab(54.96% 0.1639 -0.0427)
OKLCHoklch(54.96% 0.169 345.4)
XYZxyz(24.4568, 14.6619, 24.4590)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23E87 #3EB269
analogous
#A33EB2 #B23E87 #B23E4D
triadic
#B23E87 #87B23E #3E87B2
tetradic
#B23E87 #B2A33E #3EB269 #3E4DB2
square
#B23E87 #B2A33E #3EB269 #3E4DB2
split-complementary
#B23E87 #4DB23E #3EB2A3
monochromatic
#571E42 #852E65 #B23E87 #C964A4 #D992BE

Accessibility & contrast

On white

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

On black

3.93
#B23E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23E87#FFFFFF#000000##FFFFFF
##B23E871.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#6C7284
Tritanopia (blue-blind)
#BE3C5D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23e87;
/* rgb */ color: rgb(178, 62, 135);
/* oklch */ color: oklch(55.0% 0.169 345.4);
Tailwind
colors: {
  custom: {
    50: '#cc7baa',
    500: '#b23e87',
    950: '#000000',
  },
}
SCSS
$custom: #b23e87;
$custom-light: #cc7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23e87",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 322.241,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.1694,
    "h": 345.4
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#B23E87
secondary
#88C49E
accent
#D88250
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23E87

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

Preview Lab → · Contrast checker → · Palette generator →

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