#B34172#B34172

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

Color values

HEX#B34172
RGBrgb(179, 65, 114)
HSLhsl(334, 47%, 48%)
HSVhsv(334, 64%, 70%)
CMYKcmyk(0%, 63.7%, 36.3%, 29.8%)
CIE-LABlab(45.06, 50.73, -3.46)
CIE-LCHlch(45.06, 50.85, 356.10°)
OKLaboklab(54.67% 0.155 -0.0084)
OKLCHoklch(54.67% 0.155 356.9)
XYZxyz(23.5193, 14.5818, 17.4923)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34172 #41B382
analogous
#B341AB #B34172 #B34941
triadic
#B34172 #72B341 #4172B3
tetradic
#B34172 #ABB341 #41B382 #4941B3
square
#B34172 #ABB341 #41B382 #4941B3
split-complementary
#B34172 #41B349 #41ABB3
monochromatic
#592039 #863155 #B34172 #C86992 #D996B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34172#FFFFFF#000000##FFFFFF
##B341721.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)
#555D73
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#C13755
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b34172;
/* rgb */ color: rgb(179, 65, 114);
/* oklch */ color: oklch(54.7% 0.155 356.9);
Tailwind
colors: {
  custom: {
    50: '#ce7c9a',
    500: '#b34172',
    950: '#000000',
  },
}
SCSS
$custom: #b34172;
$custom-light: #ce7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b34172",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 334.211,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.15522,
    "h": 356.9
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#B34172
secondary
#8BC4AC
accent
#D69D51
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B34172

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

Preview Lab → · Contrast checker → · Palette generator →

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