#B23187#B23187

#B23187 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.186 H 344.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B23187
RGBrgb(178, 49, 135)
HSLhsl(320, 57%, 45%)
HSVhsv(320, 72%, 70%)
CMYKcmyk(0%, 72.5%, 24.2%, 30.2%)
CIE-LABlab(43.38, 59.35, -18.85)
CIE-LCHlch(43.38, 62.27, 342.38°)
OKLaboklab(53.65% 0.1792 -0.0503)
OKLCHoklch(53.65% 0.186 344.3)
XYZxyz(23.8325, 13.4134, 24.2509)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23187 #31B25C
analogous
#9D31B2 #B23187 #B23147
triadic
#B23187 #87B231 #3187B2
tetradic
#B23187 #B29D31 #31B25C #3147B2
square
#B23187 #B29D31 #31B25C #3147B2
split-complementary
#B23187 #47B231 #31B29D
monochromatic
#52173E #822463 #B23187 #CF51A5 #DC81BE

Accessibility & contrast

On white

5.70
#B23187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B23187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23187
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23187#FFFFFF#000000##FFFFFF
##B231871.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#BE3058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23187;
/* rgb */ color: rgb(178, 49, 135);
/* oklch */ color: oklch(53.7% 0.186 344.3);
Tailwind
colors: {
  custom: {
    50: '#cd75aa',
    500: '#b23187',
    950: '#000000',
  },
}
SCSS
$custom: #b23187;
$custom-light: #cd75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23187",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 320,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.18612,
    "h": 344.3
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#B23187
secondary
#79C593
accent
#E07B48
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23187

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

Preview Lab → · Contrast checker → · Palette generator →

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