#B4168B#B4168B

#B4168B is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.4% C 0.214 H 342.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B4168B
RGBrgb(180, 22, 139)
HSLhsl(316, 78%, 40%)
HSVhsv(316, 88%, 71%)
CMYKcmyk(0%, 87.8%, 22.8%, 29.4%)
CIE-LABlab(41.44, 67.42, -24.26)
CIE-LCHlch(41.44, 71.65, 340.21°)
OKLaboklab(52.38% 0.2035 -0.0653)
OKLCHoklch(52.38% 0.214 342.2)
XYZxyz(23.7704, 12.1438, 25.5133)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4168B #16B43F
analogous
#8E16B4 #B4168B #B4163C
triadic
#B4168B #8BB416 #168BB4
tetradic
#B4168B #B48E16 #16B43F #163CB4
square
#B4168B #B48E16 #16B43F #163CB4
split-complementary
#B4168B #3CB416 #16B48E
monochromatic
#470937 #7D0F61 #B4168B #E423B2 #EB5AC5

Accessibility & contrast

On white

6.13
#B4168B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B4168B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4168B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4168B#FFFFFF#000000##FFFFFF
##B4168B1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#C01953
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4168b;
/* rgb */ color: rgb(180, 22, 139);
/* oklch */ color: oklch(52.4% 0.214 342.2);
Tailwind
colors: {
  custom: {
    50: '#cf6cad',
    500: '#b4168b',
    950: '#000000',
  },
}
SCSS
$custom: #b4168b;
$custom-light: #cf6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4168b",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 315.57,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.21369,
    "h": 342.2
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#B4168B
secondary
#58CE76
accent
#F56533
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4168B

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

Preview Lab → · Contrast checker → · Palette generator →

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