#B4198C#B4198C

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

Color values

HEX#B4198C
RGBrgb(180, 25, 140)
HSLhsl(315, 76%, 40%)
HSVhsv(315, 86%, 71%)
CMYKcmyk(0%, 86.1%, 22.2%, 29.4%)
CIE-LABlab(41.68, 66.99, -24.50)
CIE-LCHlch(41.68, 71.33, 339.91°)
OKLaboklab(52.56% 0.2019 -0.066)
OKLCHoklch(52.56% 0.212 341.9)
XYZxyz(23.9046, 12.2946, 25.9201)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4198C #19B441
analogous
#8F19B4 #B4198C #B4193E
triadic
#B4198C #8CB419 #198CB4
tetradic
#B4198C #B48F19 #19B441 #193EB4
square
#B4198C #B48F19 #19B441 #193EB4
split-complementary
#B4198C #3EB419 #19B48F
monochromatic
#490A38 #7E1262 #B4198C #E129B2 #E95FC5

Accessibility & contrast

On white

6.07
#B4198C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B4198C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4198C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4198C#FFFFFF#000000##FFFFFF
##B4198C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#606B89
Tritanopia (blue-blind)
#C01D54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4198c;
/* rgb */ color: rgb(180, 25, 140);
/* oklch */ color: oklch(52.6% 0.212 341.9);
Tailwind
colors: {
  custom: {
    50: '#cf6dae',
    500: '#b4198c',
    950: '#000000',
  },
}
SCSS
$custom: #b4198c;
$custom-light: #cf6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4198c",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 315.484,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.2124,
    "h": 341.9
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#B4198C
secondary
#5CCD79
accent
#F26636
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4198C

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

Preview Lab → · Contrast checker → · Palette generator →

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