#B4189F#B4189F

#B4189F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.225 H 335.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B4189F
RGBrgb(180, 24, 159)
HSLhsl(308, 76%, 40%)
HSVhsv(308, 87%, 71%)
CMYKcmyk(0%, 86.7%, 11.7%, 29.4%)
CIE-LABlab(42.55, 69.70, -34.65)
CIE-LCHlch(42.55, 77.84, 333.57°)
OKLaboklab(53.49% 0.2039 -0.095)
OKLCHoklch(53.49% 0.225 335)
XYZxyz(25.4074, 12.8622, 33.9387)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4189F #18B42D
analogous
#7B18B4 #B4189F #B41851
triadic
#B4189F #9FB418 #189FB4
tetradic
#B4189F #B47B18 #18B42D #1851B4
square
#B4189F #B47B18 #18B42D #1851B4
split-complementary
#B4189F #51B418 #18B47B
monochromatic
#480A40 #7E116F #B4189F #E227C9 #E95DD7

Accessibility & contrast

On white

5.88
#B4189F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B4189F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4189F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4189F#FFFFFF#000000##FFFFFF
##B4189F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#BD2B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4189f;
/* rgb */ color: rgb(180, 24, 159);
/* oklch */ color: oklch(53.5% 0.225 335.0);
Tailwind
colors: {
  custom: {
    50: '#cf6dbc',
    500: '#b4189f',
    950: '#000000',
  },
}
SCSS
$custom: #b4189f;
$custom-light: #cf6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4189f",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 308.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53491,
    "c": 0.22489,
    "h": 335
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#B4189F
secondary
#5BCD6A
accent
#F34E35
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B4189F

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

Preview Lab → · Contrast checker → · Palette generator →

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