#B4169D#B4169D

#B4169D is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.225 H 335.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B4169D
RGBrgb(180, 22, 157)
HSLhsl(309, 78%, 40%)
HSVhsv(309, 88%, 71%)
CMYKcmyk(0%, 87.8%, 12.8%, 29.4%)
CIE-LABlab(42.33, 69.77, -33.80)
CIE-LCHlch(42.33, 77.53, 334.15°)
OKLaboklab(53.3% 0.2049 -0.0925)
OKLCHoklch(53.3% 0.225 335.7)
XYZxyz(25.1956, 12.7139, 33.0188)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4169D #16B42D
analogous
#7C16B4 #B4169D #B4164E
triadic
#B4169D #9DB416 #169DB4
tetradic
#B4169D #B47C16 #16B42D #164EB4
square
#B4169D #B47C16 #16B42D #164EB4
split-complementary
#B4169D #4EB416 #16B47C
monochromatic
#47093E #7D0F6D #B4169D #E423C8 #EB5AD6

Accessibility & contrast

On white

5.93
#B4169D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B4169D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4169D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4169D#FFFFFF#000000##FFFFFF
##B4169D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#BE285D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4169d;
/* rgb */ color: rgb(180, 22, 157);
/* oklch */ color: oklch(53.3% 0.225 335.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dba',
    500: '#b4169d',
    950: '#000000',
  },
}
SCSS
$custom: #b4169d;
$custom-light: #cf6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4169d",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 308.734,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.22478,
    "h": 335.7
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#B4169D
secondary
#58CE69
accent
#F54F33
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4169D

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

Preview Lab → · Contrast checker → · Palette generator →

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