#B4189D#B4189D

#B4189D is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.224 H 335.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B4189D
RGBrgb(180, 24, 157)
HSLhsl(309, 76%, 40%)
HSVhsv(309, 87%, 71%)
CMYKcmyk(0%, 86.7%, 12.8%, 29.4%)
CIE-LABlab(42.45, 69.42, -33.61)
CIE-LCHlch(42.45, 77.13, 334.17°)
OKLaboklab(53.38% 0.2038 -0.092)
OKLCHoklch(53.38% 0.224 335.7)
XYZxyz(25.2353, 12.7933, 33.0321)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4189D #18B42F
analogous
#7D18B4 #B4189D #B4184F
triadic
#B4189D #9DB418 #189DB4
tetradic
#B4189D #B47D18 #18B42F #184FB4
square
#B4189D #B47D18 #18B42F #184FB4
split-complementary
#B4189D #4FB418 #18B47D
monochromatic
#480A3F #7E116E #B4189D #E227C7 #E95DD5

Accessibility & contrast

On white

5.90
#B4189D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B4189D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4189D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4189D#FFFFFF#000000##FFFFFF
##B4189D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#BE295E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4189d;
/* rgb */ color: rgb(180, 24, 157);
/* oklch */ color: oklch(53.4% 0.224 335.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dba',
    500: '#b4189d',
    950: '#000000',
  },
}
SCSS
$custom: #b4189d;
$custom-light: #cf6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4189d",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 308.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.22359,
    "h": 335.7
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#B4189D
secondary
#5BCD6B
accent
#F35135
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4189D

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

Preview Lab → · Contrast checker → · Palette generator →

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