#B23186#B23186

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

Color values

HEX#B23186
RGBrgb(178, 49, 134)
HSLhsl(320, 57%, 45%)
HSVhsv(320, 72%, 70%)
CMYKcmyk(0%, 72.5%, 24.7%, 30.2%)
CIE-LABlab(43.34, 59.22, -18.31)
CIE-LCHlch(43.34, 61.98, 342.82°)
OKLaboklab(53.61% 0.179 -0.0487)
OKLCHoklch(53.61% 0.186 344.8)
XYZxyz(23.7624, 13.3853, 23.8818)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23186 #31B25D
analogous
#9E31B2 #B23186 #B23146
triadic
#B23186 #86B231 #3186B2
tetradic
#B23186 #B29E31 #31B25D #3146B2
square
#B23186 #B29E31 #31B25D #3146B2
split-complementary
#B23186 #46B231 #31B29E
monochromatic
#52173E #822462 #B23186 #CF51A4 #DC81BD

Accessibility & contrast

On white

5.71
#B23186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23186
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23186#FFFFFF#000000##FFFFFF
##B231861.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405988
Deuteranopia (green-blind)
#676E83
Tritanopia (blue-blind)
#BE2F57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23186;
/* rgb */ color: rgb(178, 49, 134);
/* oklch */ color: oklch(53.6% 0.186 344.8);
Tailwind
colors: {
  custom: {
    50: '#cd75a9',
    500: '#b23186',
    950: '#000000',
  },
}
SCSS
$custom: #b23186;
$custom-light: #cd75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23186",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 320.465,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.18552,
    "h": 344.8
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23186

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

Preview Lab → · Contrast checker → · Palette generator →

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