#B4189B#B4189B

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

Color values

HEX#B4189B
RGBrgb(180, 24, 155)
HSLhsl(310, 76%, 40%)
HSVhsv(310, 87%, 71%)
CMYKcmyk(0%, 86.7%, 13.9%, 29.4%)
CIE-LABlab(42.35, 69.15, -32.57)
CIE-LCHlch(42.35, 76.43, 334.78°)
OKLaboklab(53.28% 0.2037 -0.089)
OKLCHoklch(53.28% 0.222 336.4)
XYZxyz(25.0659, 12.7256, 32.1402)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4189B #18B431
analogous
#7F18B4 #B4189B #B4184D
triadic
#B4189B #9BB418 #189BB4
tetradic
#B4189B #B47F18 #18B431 #184DB4
square
#B4189B #B47F18 #18B431 #184DB4
split-complementary
#B4189B #4DB418 #18B47F
monochromatic
#480A3E #7E116D #B4189B #E227C4 #E95DD3

Accessibility & contrast

On white

5.92
#B4189B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4189B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4189B#FFFFFF#000000##FFFFFF
##B4189B1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569E
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#BE285C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4189b;
/* rgb */ color: rgb(180, 24, 155);
/* oklch */ color: oklch(53.3% 0.222 336.4);
Tailwind
colors: {
  custom: {
    50: '#cf6db9',
    500: '#b4189b',
    950: '#000000',
  },
}
SCSS
$custom: #b4189b;
$custom-light: #cf6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4189b",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 309.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.2223,
    "h": 336.4
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#B4189B
secondary
#5BCD6D
accent
#F35335
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4189B

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

Preview Lab → · Contrast checker → · Palette generator →

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