#B4198B#B4198B

#B4198B is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.5% C 0.212 H 342.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B4198B
RGBrgb(180, 25, 139)
HSLhsl(316, 76%, 40%)
HSVhsv(316, 86%, 71%)
CMYKcmyk(0%, 86.1%, 22.8%, 29.4%)
CIE-LABlab(41.63, 66.86, -23.96)
CIE-LCHlch(41.63, 71.03, 340.28°)
OKLaboklab(52.51% 0.2018 -0.0644)
OKLCHoklch(52.51% 0.212 342.3)
XYZxyz(23.8312, 12.2653, 25.5335)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4198B #19B442
analogous
#8F19B4 #B4198B #B4193D
triadic
#B4198B #8BB419 #198BB4
tetradic
#B4198B #B48F19 #19B442 #193DB4
square
#B4198B #B48F19 #19B442 #193DB4
split-complementary
#B4198B #3DB419 #19B48F
monochromatic
#490A38 #7E1262 #B4198B #E129B1 #E95FC4

Accessibility & contrast

On white

6.08
#B4198B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4198B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4198B#FFFFFF#000000##FFFFFF
##B4198B1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#C01C53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4198b;
/* rgb */ color: rgb(180, 25, 139);
/* oklch */ color: oklch(52.5% 0.212 342.3);
Tailwind
colors: {
  custom: {
    50: '#cf6dad',
    500: '#b4198b',
    950: '#000000',
  },
}
SCSS
$custom: #b4198b;
$custom-light: #cf6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4198b",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 315.871,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.21181,
    "h": 342.3
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#B4198B
secondary
#5CCD7A
accent
#F26736
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4198B

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

Preview Lab → · Contrast checker → · Palette generator →

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