#B4169A#B4169A

#B4169A is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.223 H 336.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B4169A
RGBrgb(180, 22, 154)
HSLhsl(310, 78%, 40%)
HSVhsv(310, 88%, 71%)
CMYKcmyk(0%, 87.8%, 14.4%, 29.4%)
CIE-LABlab(42.17, 69.36, -32.24)
CIE-LCHlch(42.17, 76.49, 335.07°)
OKLaboklab(53.14% 0.2047 -0.088)
OKLCHoklch(53.14% 0.223 336.7)
XYZxyz(24.9426, 12.6127, 31.6865)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4169A #16B430
analogous
#7F16B4 #B4169A #B4164B
triadic
#B4169A #9AB416 #169AB4
tetradic
#B4169A #B47F16 #16B430 #164BB4
square
#B4169A #B47F16 #16B430 #164BB4
split-complementary
#B4169A #4BB416 #16B47F
monochromatic
#47093D #7D0F6B #B4169A #E423C4 #EB5AD3

Accessibility & contrast

On white

5.96
#B4169A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B4169A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4169A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4169A#FFFFFF#000000##FFFFFF
##B4169A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#596C97
Tritanopia (blue-blind)
#BE265C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4169a;
/* rgb */ color: rgb(180, 22, 154);
/* oklch */ color: oklch(53.1% 0.223 336.7);
Tailwind
colors: {
  custom: {
    50: '#cf6db8',
    500: '#b4169a',
    950: '#000000',
  },
}
SCSS
$custom: #b4169a;
$custom-light: #cf6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4169a",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 154
  },
  "hsl": {
    "h": 309.873,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.22285,
    "h": 336.7
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#B4169A
secondary
#58CE6B
accent
#F55333
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4169A

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

Preview Lab → · Contrast checker → · Palette generator →

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