#B23171#B23171

#B23171 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.175 H 354.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B23171
RGBrgb(178, 49, 113)
HSLhsl(330, 57%, 45%)
HSVhsv(330, 72%, 70%)
CMYKcmyk(0%, 72.5%, 36.5%, 30.2%)
CIE-LABlab(42.55, 56.68, -6.58)
CIE-LCHlch(42.55, 57.06, 353.38°)
OKLaboklab(52.77% 0.1737 -0.0167)
OKLCHoklch(52.77% 0.175 354.5)
XYZxyz(22.4405, 12.8565, 16.9194)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23171 #31B272
analogous
#B231B1 #B23171 #B23231
triadic
#B23171 #71B231 #3171B2
tetradic
#B23171 #B1B231 #31B272 #3231B2
square
#B23171 #B1B231 #31B272 #3231B2
split-complementary
#B23171 #31B232 #31B1B2
monochromatic
#521734 #822453 #B23171 #CF5190 #DC81AE

Accessibility & contrast

On white

5.88
#B23171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B23171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23171
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23171#FFFFFF#000000##FFFFFF
##B231711.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495573
Deuteranopia (green-blind)
#6D6D6E
Tritanopia (blue-blind)
#C0244D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23171;
/* rgb */ color: rgb(178, 49, 113);
/* oklch */ color: oklch(52.8% 0.175 354.5);
Tailwind
colors: {
  custom: {
    50: '#ce7499',
    500: '#b23171',
    950: '#000000',
  },
}
SCSS
$custom: #b23171;
$custom-light: #ce7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b23171",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 330.233,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.17454,
    "h": 354.5
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#B23171
secondary
#79C5A0
accent
#E09448
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23171

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

Preview Lab → · Contrast checker → · Palette generator →

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