#B23178#B23178

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

Color values

HEX#B23178
RGBrgb(178, 49, 120)
HSLhsl(327, 57%, 45%)
HSVhsv(327, 72%, 70%)
CMYKcmyk(0%, 72.5%, 32.6%, 30.2%)
CIE-LABlab(42.79, 57.48, -10.54)
CIE-LCHlch(42.79, 58.44, 349.61°)
OKLaboklab(53.03% 0.1757 -0.0273)
OKLCHoklch(53.03% 0.178 351.2)
XYZxyz(22.8498, 13.0203, 19.0755)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23178 #31B26B
analogous
#AC31B2 #B23178 #B23137
triadic
#B23178 #78B231 #3178B2
tetradic
#B23178 #B2AC31 #31B26B #3137B2
square
#B23178 #B2AC31 #31B26B #3137B2
split-complementary
#B23178 #37B231 #31B2AC
monochromatic
#521737 #822458 #B23178 #CF5196 #DC81B3

Accessibility & contrast

On white

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

On black

3.60
#B23178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23178#FFFFFF#000000##FFFFFF
##B231781.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#6B6D75
Tritanopia (blue-blind)
#BF2850
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23178;
/* rgb */ color: rgb(178, 49, 120);
/* oklch */ color: oklch(53.0% 0.178 351.2);
Tailwind
colors: {
  custom: {
    50: '#cd749f',
    500: '#b23178',
    950: '#000000',
  },
}
SCSS
$custom: #b23178;
$custom-light: #cd749f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23178",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 326.977,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.17783,
    "h": 351.2
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#B23178
secondary
#79C59C
accent
#E08C48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23178

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

Preview Lab → · Contrast checker → · Palette generator →

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