#B4198E#B4198E

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

Color values

HEX#B4198E
RGBrgb(180, 25, 142)
HSLhsl(315, 76%, 40%)
HSVhsv(315, 86%, 71%)
CMYKcmyk(0%, 86.1%, 21.1%, 29.4%)
CIE-LABlab(41.77, 67.24, -25.58)
CIE-LCHlch(41.77, 71.94, 339.17°)
OKLaboklab(52.66% 0.2021 -0.069)
OKLCHoklch(52.66% 0.214 341.1)
XYZxyz(24.0534, 12.3542, 26.7038)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4198E #19B43F
analogous
#8D19B4 #B4198E #B41940
triadic
#B4198E #8EB419 #198EB4
tetradic
#B4198E #B48D19 #19B43F #1940B4
square
#B4198E #B48D19 #19B43F #1940B4
split-complementary
#B4198E #40B419 #19B48D
monochromatic
#490A39 #7E1264 #B4198E #E129B4 #E95FC7

Accessibility & contrast

On white

6.05
#B4198E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B4198E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4198E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4198E#FFFFFF#000000##FFFFFF
##B4198E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#BF1E55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4198e;
/* rgb */ color: rgb(180, 25, 142);
/* oklch */ color: oklch(52.7% 0.214 341.1);
Tailwind
colors: {
  custom: {
    50: '#cf6daf',
    500: '#b4198e',
    950: '#000000',
  },
}
SCSS
$custom: #b4198e;
$custom-light: #cf6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#b4198e",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 314.71,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.21359,
    "h": 341.1
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#B4198E
secondary
#5CCD78
accent
#F26436
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B4198E

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

Preview Lab → · Contrast checker → · Palette generator →

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