#B4189C#B4189C

#B4189C is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.223 H 336.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B4189C
RGBrgb(180, 24, 156)
HSLhsl(309, 76%, 40%)
HSVhsv(309, 87%, 71%)
CMYKcmyk(0%, 86.7%, 13.3%, 29.4%)
CIE-LABlab(42.40, 69.28, -33.09)
CIE-LCHlch(42.40, 76.78, 334.47°)
OKLaboklab(53.33% 0.2038 -0.0905)
OKLCHoklch(53.33% 0.223 336.1)
XYZxyz(25.1502, 12.7593, 32.5843)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4189C #18B430
analogous
#7E18B4 #B4189C #B4184E
triadic
#B4189C #9CB418 #189CB4
tetradic
#B4189C #B47E18 #18B430 #184EB4
square
#B4189C #B47E18 #18B430 #184EB4
split-complementary
#B4189C #4EB418 #18B47E
monochromatic
#480A3E #7E116D #B4189C #E227C5 #E95DD4

Accessibility & contrast

On white

5.91
#B4189C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B4189C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4189C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4189C#FFFFFF#000000##FFFFFF
##B4189C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B569F
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#BE295D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4189c;
/* rgb */ color: rgb(180, 24, 156);
/* oklch */ color: oklch(53.3% 0.223 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf6db9',
    500: '#b4189c',
    950: '#000000',
  },
}
SCSS
$custom: #b4189c;
$custom-light: #cf6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4189c",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 156
  },
  "hsl": {
    "h": 309.231,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.22295,
    "h": 336.1
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#B4189C
secondary
#5BCD6C
accent
#F35235
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4189C

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

Preview Lab → · Contrast checker → · Palette generator →

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