#B23371#B23371

#B23371 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.172 H 354.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B23371
RGBrgb(178, 51, 113)
HSLhsl(331, 55%, 45%)
HSVhsv(331, 71%, 70%)
CMYKcmyk(0%, 71.3%, 36.5%, 30.2%)
CIE-LABlab(42.80, 55.95, -6.20)
CIE-LCHlch(42.80, 56.30, 353.68°)
OKLaboklab(52.96% 0.1715 -0.0156)
OKLCHoklch(52.96% 0.172 354.8)
XYZxyz(22.5260, 13.0276, 16.9479)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23371 #33B274
analogous
#B233B0 #B23371 #B23533
triadic
#B23371 #71B233 #3371B2
tetradic
#B23371 #B0B233 #33B274 #3533B2
square
#B23371 #B0B233 #33B274 #3533B2
split-complementary
#B23371 #33B235 #33B0B2
monochromatic
#531835 #822553 #B23371 #CE5490 #DC84AF

Accessibility & contrast

On white

5.83
#B23371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B23371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23371
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23371#FFFFFF#000000##FFFFFF
##B233711.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6D6E6E
Tritanopia (blue-blind)
#C0274D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23371;
/* rgb */ color: rgb(178, 51, 113);
/* oklch */ color: oklch(53.0% 0.172 354.8);
Tailwind
colors: {
  custom: {
    50: '#ce7599',
    500: '#b23371',
    950: '#000000',
  },
}
SCSS
$custom: #b23371;
$custom-light: #ce7599;
$custom-dark: #000000;
JSON
{
  "hex": "#b23371",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 330.709,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.17217,
    "h": 354.8
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#B23371
secondary
#7CC5A1
accent
#DF9649
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23371

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

Preview Lab → · Contrast checker → · Palette generator →

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