#B4198F#B4198F

#B4198F is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 340.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B4198F
RGBrgb(180, 25, 143)
HSLhsl(314, 76%, 40%)
HSVhsv(314, 86%, 71%)
CMYKcmyk(0%, 86.1%, 20.6%, 29.4%)
CIE-LABlab(41.82, 67.37, -26.12)
CIE-LCHlch(41.82, 72.25, 338.81°)
OKLaboklab(52.71% 0.2022 -0.0705)
OKLCHoklch(52.71% 0.214 340.8)
XYZxyz(24.1288, 12.3843, 27.1010)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4198F #19B43E
analogous
#8C19B4 #B4198F #B41941
triadic
#B4198F #8FB419 #198FB4
tetradic
#B4198F #B48C19 #19B43E #1941B4
square
#B4198F #B48C19 #19B43E #1941B4
split-complementary
#B4198F #41B419 #19B48C
monochromatic
#490A3A #7E1264 #B4198F #E129B5 #E95FC8

Accessibility & contrast

On white

6.04
#B4198F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B4198F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4198F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4198F#FFFFFF#000000##FFFFFF
##B4198F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#BF1F56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4198f;
/* rgb */ color: rgb(180, 25, 143);
/* oklch */ color: oklch(52.7% 0.214 340.8);
Tailwind
colors: {
  custom: {
    50: '#cf6db0',
    500: '#b4198f',
    950: '#000000',
  },
}
SCSS
$custom: #b4198f;
$custom-light: #cf6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4198f",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 314.323,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.21419,
    "h": 340.8
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#B4198F
secondary
#5CCD77
accent
#F26336
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B4198F

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

Preview Lab → · Contrast checker → · Palette generator →

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