#B23771#B23771

#B23771 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.167 H 355.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B23771
RGBrgb(178, 55, 113)
HSLhsl(332, 53%, 46%)
HSVhsv(332, 69%, 70%)
CMYKcmyk(0%, 69.1%, 36.5%, 30.2%)
CIE-LABlab(43.35, 54.44, -5.39)
CIE-LCHlch(43.35, 54.71, 354.35°)
OKLaboklab(53.36% 0.1667 -0.0135)
OKLCHoklch(53.36% 0.167 355.4)
XYZxyz(22.7083, 13.3923, 17.0087)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23771 #37B278
analogous
#B237AE #B23771 #B23A37
triadic
#B23771 #71B237 #3771B2
tetradic
#B23771 #AEB237 #37B278 #3A37B2
square
#B23771 #AEB237 #37B278 #3A37B2
split-complementary
#B23771 #37B23A #37AEB2
monochromatic
#541A36 #832953 #B23771 #CC5A90 #DB89AF

Accessibility & contrast

On white

5.71
#B23771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B23771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23771
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23771#FFFFFF#000000##FFFFFF
##B237711.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#6F6F6E
Tritanopia (blue-blind)
#C02C4F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23771;
/* rgb */ color: rgb(178, 55, 113);
/* oklch */ color: oklch(53.4% 0.167 355.4);
Tailwind
colors: {
  custom: {
    50: '#cd7799',
    500: '#b23771',
    950: '#000000',
  },
}
SCSS
$custom: #b23771;
$custom-light: #cd7799;
$custom-dark: #000000;
JSON
{
  "hex": "#b23771",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 331.707,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.16724,
    "h": 355.4
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#B23771
secondary
#80C5A4
accent
#DC984C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23771

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

Preview Lab → · Contrast checker → · Palette generator →

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