#B23873#B23873

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

Color values

HEX#B23873
RGBrgb(178, 56, 115)
HSLhsl(331, 52%, 46%)
HSVhsv(331, 69%, 70%)
CMYKcmyk(0%, 68.5%, 35.4%, 30.2%)
CIE-LABlab(43.56, 54.28, -6.31)
CIE-LCHlch(43.56, 54.65, 353.37°)
OKLaboklab(53.54% 0.1661 -0.016)
OKLCHoklch(53.54% 0.167 354.5)
XYZxyz(22.8701, 13.5338, 17.6242)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23873 #38B277
analogous
#B238B0 #B23873 #B23A38
triadic
#B23873 #73B238 #3873B2
tetradic
#B23873 #B0B238 #38B277 #3A38B2
square
#B23873 #B0B238 #38B277 #3A38B2
split-complementary
#B23873 #38B23A #38B0B2
monochromatic
#551B37 #832955 #B23873 #CC5C92 #DA8AB1

Accessibility & contrast

On white

5.67
#B23873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B23873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23873
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23873#FFFFFF#000000##FFFFFF
##B238731.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5975
Deuteranopia (green-blind)
#6F6F70
Tritanopia (blue-blind)
#C02E51
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23873;
/* rgb */ color: rgb(178, 56, 115);
/* oklch */ color: oklch(53.5% 0.167 354.5);
Tailwind
colors: {
  custom: {
    50: '#cd779b',
    500: '#b23873',
    950: '#000000',
  },
}
SCSS
$custom: #b23873;
$custom-light: #cd779b;
$custom-dark: #000000;
JSON
{
  "hex": "#b23873",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 330.984,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.16684,
    "h": 354.5
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#B23873
secondary
#81C5A4
accent
#DC964C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23873

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

Preview Lab → · Contrast checker → · Palette generator →

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