#B23173#B23173

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

Color values

HEX#B23173
RGBrgb(178, 49, 115)
HSLhsl(329, 57%, 45%)
HSVhsv(329, 72%, 70%)
CMYKcmyk(0%, 72.5%, 35.4%, 30.2%)
CIE-LABlab(42.62, 56.90, -7.72)
CIE-LCHlch(42.62, 57.42, 352.28°)
OKLaboklab(52.84% 0.1743 -0.0197)
OKLCHoklch(52.84% 0.175 353.5)
XYZxyz(22.5543, 12.9021, 17.5189)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23173 #31B270
analogous
#B031B2 #B23173 #B23133
triadic
#B23173 #73B231 #3173B2
tetradic
#B23173 #B2B031 #31B270 #3133B2
square
#B23173 #B2B031 #31B270 #3133B2
split-complementary
#B23173 #33B231 #31B2B0
monochromatic
#521735 #822454 #B23173 #CF5192 #DC81B0

Accessibility & contrast

On white

5.87
#B23173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B23173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23173
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23173#FFFFFF#000000##FFFFFF
##B231731.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485675
Deuteranopia (green-blind)
#6C6D70
Tritanopia (blue-blind)
#C0264E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23173;
/* rgb */ color: rgb(178, 49, 115);
/* oklch */ color: oklch(52.8% 0.175 353.5);
Tailwind
colors: {
  custom: {
    50: '#ce749b',
    500: '#b23173',
    950: '#000000',
  },
}
SCSS
$custom: #b23173;
$custom-light: #ce749b;
$custom-dark: #000000;
JSON
{
  "hex": "#b23173",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 329.302,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.17544,
    "h": 353.5
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#B23173
secondary
#79C59F
accent
#E09248
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23173

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

Preview Lab → · Contrast checker → · Palette generator →

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