#B23174#B23174

#B23174 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.176 H 353.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B23174
RGBrgb(178, 49, 116)
HSLhsl(329, 57%, 45%)
HSVhsv(329, 72%, 70%)
CMYKcmyk(0%, 72.5%, 34.8%, 30.2%)
CIE-LABlab(42.65, 57.01, -8.28)
CIE-LCHlch(42.65, 57.61, 351.73°)
OKLaboklab(52.88% 0.1746 -0.0212)
OKLCHoklch(52.88% 0.176 353.1)
XYZxyz(22.6121, 12.9252, 17.8236)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23174 #31B26F
analogous
#B031B2 #B23174 #B23134
triadic
#B23174 #74B231 #3174B2
tetradic
#B23174 #B2B031 #31B26F #3134B2
square
#B23174 #B2B031 #31B26F #3134B2
split-complementary
#B23174 #34B231 #31B2B0
monochromatic
#521735 #822455 #B23174 #CF5193 #DC81B0

Accessibility & contrast

On white

5.86
#B23174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23174
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23174#FFFFFF#000000##FFFFFF
##B231741.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23174;
/* rgb */ color: rgb(178, 49, 116);
/* oklch */ color: oklch(52.9% 0.176 353.1);
Tailwind
colors: {
  custom: {
    50: '#ce749c',
    500: '#b23174',
    950: '#000000',
  },
}
SCSS
$custom: #b23174;
$custom-light: #ce749c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23174",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 328.837,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.1759,
    "h": 353.1
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#B23174
secondary
#79C59E
accent
#E09148
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23174

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

Preview Lab → · Contrast checker → · Palette generator →

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