#B23887#B23887

#B23887 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.177 H 344.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B23887
RGBrgb(178, 56, 135)
HSLhsl(321, 52%, 46%)
HSVhsv(321, 69%, 70%)
CMYKcmyk(0%, 68.5%, 24.2%, 30.2%)
CIE-LABlab(44.30, 56.78, -17.45)
CIE-LCHlch(44.30, 59.40, 342.92°)
OKLaboklab(54.32% 0.1713 -0.0464)
OKLCHoklch(54.32% 0.177 344.8)
XYZxyz(24.1483, 14.0450, 24.3562)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23887 #38B263
analogous
#A038B2 #B23887 #B2384A
triadic
#B23887 #87B238 #3887B2
tetradic
#B23887 #B2A038 #38B263 #384AB2
square
#B23887 #B2A038 #38B263 #384AB2
split-complementary
#B23887 #4AB238 #38B2A0
monochromatic
#551B40 #832964 #B23887 #CC5CA4 #DA8ABE

Accessibility & contrast

On white

5.51
#B23887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B23887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23887
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23887#FFFFFF#000000##FFFFFF
##B238871.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#BE375A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23887;
/* rgb */ color: rgb(178, 56, 135);
/* oklch */ color: oklch(54.3% 0.177 344.8);
Tailwind
colors: {
  custom: {
    50: '#cd78aa',
    500: '#b23887',
    950: '#000000',
  },
}
SCSS
$custom: #b23887;
$custom-light: #cd78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23887",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 321.148,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.17748,
    "h": 344.8
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#B23887
secondary
#81C599
accent
#DC7F4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23887

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

Preview Lab → · Contrast checker → · Palette generator →

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