#B34173#B34173

#B34173 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.156 H 356.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B34173
RGBrgb(179, 65, 115)
HSLhsl(334, 47%, 48%)
HSVhsv(334, 64%, 70%)
CMYKcmyk(0%, 63.7%, 35.8%, 29.8%)
CIE-LABlab(45.09, 50.85, -4.02)
CIE-LCHlch(45.09, 51.01, 355.48°)
OKLaboklab(54.7% 0.1553 -0.0099)
OKLCHoklch(54.7% 0.156 356.3)
XYZxyz(23.5766, 14.6047, 17.7937)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34173 #41B381
analogous
#B341AC #B34173 #B34841
triadic
#B34173 #73B341 #4173B3
tetradic
#B34173 #ACB341 #41B381 #4841B3
square
#B34173 #ACB341 #41B381 #4841B3
split-complementary
#B34173 #41B348 #41ACB3
monochromatic
#592039 #863156 #B34173 #C86993 #D996B3

Accessibility & contrast

On white

5.36
#B34173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B34173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34173
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34173#FFFFFF#000000##FFFFFF
##B341731.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D74
Deuteranopia (green-blind)
#737370
Tritanopia (blue-blind)
#C13855
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b34173;
/* rgb */ color: rgb(179, 65, 115);
/* oklch */ color: oklch(54.7% 0.156 356.3);
Tailwind
colors: {
  custom: {
    50: '#ce7c9b',
    500: '#b34173',
    950: '#000000',
  },
}
SCSS
$custom: #b34173;
$custom-light: #ce7c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b34173",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 333.684,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.15564,
    "h": 356.3
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#B34173
secondary
#8BC4AB
accent
#D69C51
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B34173

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

Preview Lab → · Contrast checker → · Palette generator →

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