#B23871#B23871

#B23871 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.166 H 355.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B23871
RGBrgb(178, 56, 113)
HSLhsl(332, 52%, 46%)
HSVhsv(332, 69%, 70%)
CMYKcmyk(0%, 68.5%, 36.5%, 30.2%)
CIE-LABlab(43.49, 54.05, -5.18)
CIE-LCHlch(43.49, 54.30, 354.53°)
OKLaboklab(53.46% 0.1655 -0.013)
OKLCHoklch(53.46% 0.166 355.5)
XYZxyz(22.7563, 13.4882, 17.0247)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23871 #38B279
analogous
#B238AE #B23871 #B23C38
triadic
#B23871 #71B238 #3871B2
tetradic
#B23871 #AEB238 #38B279 #3C38B2
square
#B23871 #AEB238 #38B279 #3C38B2
split-complementary
#B23871 #38B23C #38AEB2
monochromatic
#551B36 #832953 #B23871 #CC5C90 #DA8AB0

Accessibility & contrast

On white

5.68
#B23871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B23871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23871
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23871#FFFFFF#000000##FFFFFF
##B238711.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5873
Deuteranopia (green-blind)
#6F6F6E
Tritanopia (blue-blind)
#C02D50
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23871;
/* rgb */ color: rgb(178, 56, 113);
/* oklch */ color: oklch(53.5% 0.166 355.5);
Tailwind
colors: {
  custom: {
    50: '#cd7799',
    500: '#b23871',
    950: '#000000',
  },
}
SCSS
$custom: #b23871;
$custom-light: #cd7799;
$custom-dark: #000000;
JSON
{
  "hex": "#b23871",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 331.967,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.16597,
    "h": 355.5
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#B23871
secondary
#81C5A5
accent
#DC994C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23871

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

Preview Lab → · Contrast checker → · Palette generator →

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