#B4168D#B4168D

#B4168D is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.5% C 0.215 H 341.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B4168D
RGBrgb(180, 22, 141)
HSLhsl(315, 78%, 40%)
HSVhsv(315, 88%, 71%)
CMYKcmyk(0%, 87.8%, 21.7%, 29.4%)
CIE-LABlab(41.54, 67.67, -25.34)
CIE-LCHlch(41.54, 72.25, 339.47°)
OKLaboklab(52.47% 0.2037 -0.0683)
OKLCHoklch(52.47% 0.215 341.5)
XYZxyz(23.9179, 12.2028, 26.2899)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4168D #16B43D
analogous
#8C16B4 #B4168D #B4163E
triadic
#B4168D #8DB416 #168DB4
tetradic
#B4168D #B48C16 #16B43D #163EB4
square
#B4168D #B48C16 #16B43D #163EB4
split-complementary
#B4168D #3EB416 #16B48C
monochromatic
#470938 #7D0F62 #B4168D #E423B4 #EB5AC7

Accessibility & contrast

On white

6.10
#B4168D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B4168D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4168D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4168D#FFFFFF#000000##FFFFFF
##B4168D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#C01B54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4168d;
/* rgb */ color: rgb(180, 22, 141);
/* oklch */ color: oklch(52.5% 0.215 341.5);
Tailwind
colors: {
  custom: {
    50: '#cf6cae',
    500: '#b4168d',
    950: '#000000',
  },
}
SCSS
$custom: #b4168d;
$custom-light: #cf6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4168d",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 314.81,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.21487,
    "h": 341.5
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#B4168D
secondary
#58CE75
accent
#F56333
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4168D

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

Preview Lab → · Contrast checker → · Palette generator →

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