#B23182#B23182

#B23182 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.183 H 346.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B23182
RGBrgb(178, 49, 130)
HSLhsl(322, 57%, 45%)
HSVhsv(322, 72%, 70%)
CMYKcmyk(0%, 72.5%, 27%, 30.2%)
CIE-LABlab(43.18, 58.70, -16.11)
CIE-LCHlch(43.18, 60.87, 344.65°)
OKLaboklab(53.44% 0.1782 -0.0426)
OKLCHoklch(53.44% 0.183 346.5)
XYZxyz(23.4887, 13.2758, 22.4403)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23182 #31B261
analogous
#A231B2 #B23182 #B23141
triadic
#B23182 #82B231 #3182B2
tetradic
#B23182 #B2A231 #31B261 #3141B2
square
#B23182 #B2A231 #31B261 #3141B2
split-complementary
#B23182 #41B231 #31B2A2
monochromatic
#52173C #82245F #B23182 #CF51A0 #DC81BA

Accessibility & contrast

On white

5.75
#B23182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B23182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23182
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23182#FFFFFF#000000##FFFFFF
##B231821.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#BE2D55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23182;
/* rgb */ color: rgb(178, 49, 130);
/* oklch */ color: oklch(53.4% 0.183 346.5);
Tailwind
colors: {
  custom: {
    50: '#cd75a6',
    500: '#b23182',
    950: '#000000',
  },
}
SCSS
$custom: #b23182;
$custom-light: #cd75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23182",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 322.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.18319,
    "h": 346.5
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#B23182
secondary
#79C596
accent
#E08048
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B23182

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

Preview Lab → · Contrast checker → · Palette generator →

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