#B4168C#B4168C

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

Color values

HEX#B4168C
RGBrgb(180, 22, 140)
HSLhsl(315, 78%, 40%)
HSVhsv(315, 88%, 71%)
CMYKcmyk(0%, 87.8%, 22.2%, 29.4%)
CIE-LABlab(41.49, 67.54, -24.80)
CIE-LCHlch(41.49, 71.95, 339.84°)
OKLaboklab(52.43% 0.2036 -0.0668)
OKLCHoklch(52.43% 0.214 341.8)
XYZxyz(23.8438, 12.1732, 25.8998)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4168C #16B43E
analogous
#8D16B4 #B4168C #B4163D
triadic
#B4168C #8CB416 #168CB4
tetradic
#B4168C #B48D16 #16B43E #163DB4
square
#B4168C #B48D16 #16B43E #163DB4
split-complementary
#B4168C #3DB416 #16B48D
monochromatic
#470937 #7D0F62 #B4168C #E423B3 #EB5AC6

Accessibility & contrast

On white

6.11
#B4168C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4168C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4168C#FFFFFF#000000##FFFFFF
##B4168C1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#5F6B89
Tritanopia (blue-blind)
#C01A53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4168c;
/* rgb */ color: rgb(180, 22, 140);
/* oklch */ color: oklch(52.4% 0.214 341.8);
Tailwind
colors: {
  custom: {
    50: '#cf6cae',
    500: '#b4168c',
    950: '#000000',
  },
}
SCSS
$custom: #b4168c;
$custom-light: #cf6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4168c",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 315.19,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.21428,
    "h": 341.8
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4168C

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

Preview Lab → · Contrast checker → · Palette generator →

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