#B4168A#B4168A

#B4168A is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.3% C 0.213 H 342.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B4168A
RGBrgb(180, 22, 138)
HSLhsl(316, 78%, 40%)
HSVhsv(316, 88%, 71%)
CMYKcmyk(0%, 87.8%, 23.3%, 29.4%)
CIE-LABlab(41.40, 67.29, -23.72)
CIE-LCHlch(41.40, 71.35, 340.58°)
OKLaboklab(52.33% 0.2034 -0.0637)
OKLCHoklch(52.33% 0.213 342.6)
XYZxyz(23.6977, 12.1147, 25.1302)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4168A #16B440
analogous
#8F16B4 #B4168A #B4163B
triadic
#B4168A #8AB416 #168AB4
tetradic
#B4168A #B48F16 #16B440 #163BB4
square
#B4168A #B48F16 #16B440 #163BB4
split-complementary
#B4168A #3BB416 #16B48F
monochromatic
#470936 #7D0F60 #B4168A #E423B1 #EB5AC4

Accessibility & contrast

On white

6.14
#B4168A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B4168A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4168A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4168A#FFFFFF#000000##FFFFFF
##B4168A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#606A87
Tritanopia (blue-blind)
#C01852
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4168a;
/* rgb */ color: rgb(180, 22, 138);
/* oklch */ color: oklch(52.3% 0.213 342.6);
Tailwind
colors: {
  custom: {
    50: '#cf6cac',
    500: '#b4168a',
    950: '#000000',
  },
}
SCSS
$custom: #b4168a;
$custom-light: #cf6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4168a",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 315.949,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.21311,
    "h": 342.6
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#B4168A
secondary
#58CE77
accent
#F56733
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4168A

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

Preview Lab → · Contrast checker → · Palette generator →

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