#B4168E#B4168E

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

Color values

HEX#B4168E
RGBrgb(180, 22, 142)
HSLhsl(314, 78%, 40%)
HSVhsv(314, 88%, 71%)
CMYKcmyk(0%, 87.8%, 21.1%, 29.4%)
CIE-LABlab(41.58, 67.79, -25.88)
CIE-LCHlch(41.58, 72.56, 339.11°)
OKLaboklab(52.52% 0.2038 -0.0698)
OKLCHoklch(52.52% 0.215 341.1)
XYZxyz(23.9926, 12.2327, 26.6836)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4168E #16B43C
analogous
#8B16B4 #B4168E #B4163F
triadic
#B4168E #8EB416 #168EB4
tetradic
#B4168E #B48B16 #16B43C #163FB4
square
#B4168E #B48B16 #16B43C #163FB4
split-complementary
#B4168E #3FB416 #16B48B
monochromatic
#470938 #7D0F63 #B4168E #E423B6 #EB5AC8

Accessibility & contrast

On white

6.09
#B4168E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B4168E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4168E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4168E#FFFFFF#000000##FFFFFF
##B4168E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#C01C55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4168e;
/* rgb */ color: rgb(180, 22, 142);
/* oklch */ color: oklch(52.5% 0.215 341.1);
Tailwind
colors: {
  custom: {
    50: '#cf6caf',
    500: '#b4168e',
    950: '#000000',
  },
}
SCSS
$custom: #b4168e;
$custom-light: #cf6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#b4168e",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 314.43,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.21546,
    "h": 341.1
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#B4168E
secondary
#58CE74
accent
#F56233
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4168E

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

Preview Lab → · Contrast checker → · Palette generator →

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