#B23992#B23992

#B23992 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.183 H 340.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B23992
RGBrgb(178, 57, 146)
HSLhsl(316, 51%, 46%)
HSVhsv(316, 68%, 70%)
CMYKcmyk(0%, 68%, 18%, 30.2%)
CIE-LABlab(44.90, 57.92, -23.18)
CIE-LCHlch(44.90, 62.39, 338.18°)
OKLaboklab(54.91% 0.1723 -0.0625)
OKLCHoklch(54.91% 0.183 340.1)
XYZxyz(25.0121, 14.4689, 28.6640)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23992 #39B259
analogous
#9539B2 #B23992 #B23955
triadic
#B23992 #92B239 #3992B2
tetradic
#B23992 #B29539 #39B259 #3955B2
square
#B23992 #B29539 #39B259 #3955B2
split-complementary
#B23992 #55B239 #39B295
monochromatic
#551B46 #842A6C #B23992 #CB5DAE #DA8BC5

Accessibility & contrast

On white

5.39
#B23992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B23992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23992
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23992#FFFFFF#000000##FFFFFF
##B239921.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#BC3C60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23992;
/* rgb */ color: rgb(178, 57, 146);
/* oklch */ color: oklch(54.9% 0.183 340.1);
Tailwind
colors: {
  custom: {
    50: '#cc79b2',
    500: '#b23992',
    950: '#000000',
  },
}
SCSS
$custom: #b23992;
$custom-light: #cc79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23992",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 315.868,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.18326,
    "h": 340.1
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#B23992
secondary
#82C494
accent
#DB724D
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#140A11
muted
#837C80

Preview Lab

Preview with #B23992

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

Preview Lab → · Contrast checker → · Palette generator →

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