#B4198A#B4198A

#B4198A is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.5% C 0.211 H 342.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B4198A
RGBrgb(180, 25, 138)
HSLhsl(316, 76%, 40%)
HSVhsv(316, 86%, 71%)
CMYKcmyk(0%, 86.1%, 23.3%, 29.4%)
CIE-LABlab(41.59, 66.74, -23.42)
CIE-LCHlch(41.59, 70.73, 340.66°)
OKLaboklab(52.47% 0.2016 -0.0629)
OKLCHoklch(52.47% 0.211 342.7)
XYZxyz(23.7584, 12.2362, 25.1505)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4198A #19B443
analogous
#9019B4 #B4198A #B4193C
triadic
#B4198A #8AB419 #198AB4
tetradic
#B4198A #B49019 #19B443 #193CB4
square
#B4198A #B49019 #19B443 #193CB4
split-complementary
#B4198A #3CB419 #19B490
monochromatic
#490A38 #7E1261 #B4198A #E129AF #E95FC3

Accessibility & contrast

On white

6.09
#B4198A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B4198A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4198A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4198A#FFFFFF#000000##FFFFFF
##B4198A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#C01B53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4198a;
/* rgb */ color: rgb(180, 25, 138);
/* oklch */ color: oklch(52.5% 0.211 342.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dac',
    500: '#b4198a',
    950: '#000000',
  },
}
SCSS
$custom: #b4198a;
$custom-light: #cf6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4198a",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 316.258,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.21122,
    "h": 342.7
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#B4198A
secondary
#5CCD7B
accent
#F26936
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4198A

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

Preview Lab → · Contrast checker → · Palette generator →

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