#B4168F#B4168F

#B4168F is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.6% C 0.216 H 340.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B4168F
RGBrgb(180, 22, 143)
HSLhsl(314, 78%, 40%)
HSVhsv(314, 88%, 71%)
CMYKcmyk(0%, 87.8%, 20.6%, 29.4%)
CIE-LABlab(41.63, 67.92, -26.41)
CIE-LCHlch(41.63, 72.87, 338.75°)
OKLaboklab(52.57% 0.2039 -0.0714)
OKLCHoklch(52.57% 0.216 340.7)
XYZxyz(24.0681, 12.2629, 27.0807)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4168F #16B43B
analogous
#8A16B4 #B4168F #B41640
triadic
#B4168F #8FB416 #168FB4
tetradic
#B4168F #B48A16 #16B43B #1640B4
square
#B4168F #B48A16 #16B43B #1640B4
split-complementary
#B4168F #40B416 #16B48A
monochromatic
#470938 #7D0F64 #B4168F #E423B7 #EB5AC9

Accessibility & contrast

On white

6.08
#B4168F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4168F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4168F#FFFFFF#000000##FFFFFF
##B4168F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#BF1D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4168f;
/* rgb */ color: rgb(180, 22, 143);
/* oklch */ color: oklch(52.6% 0.216 340.7);
Tailwind
colors: {
  custom: {
    50: '#cf6cb0',
    500: '#b4168f',
    950: '#000000',
  },
}
SCSS
$custom: #b4168f;
$custom-light: #cf6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4168f",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 314.051,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.21605,
    "h": 340.7
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#B4168F
secondary
#58CE73
accent
#F56033
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4168F

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

Preview Lab → · Contrast checker → · Palette generator →

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