#B4198D#B4198D

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

Color values

HEX#B4198D
RGBrgb(180, 25, 141)
HSLhsl(315, 76%, 40%)
HSVhsv(315, 86%, 71%)
CMYKcmyk(0%, 86.1%, 21.7%, 29.4%)
CIE-LABlab(41.73, 67.11, -25.04)
CIE-LCHlch(41.73, 71.63, 339.54°)
OKLaboklab(52.61% 0.202 -0.0675)
OKLCHoklch(52.61% 0.213 341.5)
XYZxyz(23.9786, 12.3243, 26.3102)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4198D #19B440
analogous
#8E19B4 #B4198D #B4193F
triadic
#B4198D #8DB419 #198DB4
tetradic
#B4198D #B48E19 #19B440 #193FB4
square
#B4198D #B48E19 #19B440 #193FB4
split-complementary
#B4198D #3FB419 #19B48E
monochromatic
#490A39 #7E1263 #B4198D #E129B3 #E95FC6

Accessibility & contrast

On white

6.06
#B4198D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4198D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4198D#FFFFFF#000000##FFFFFF
##B4198D1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#C01D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4198d;
/* rgb */ color: rgb(180, 25, 141);
/* oklch */ color: oklch(52.6% 0.213 341.5);
Tailwind
colors: {
  custom: {
    50: '#cf6dae',
    500: '#b4198d',
    950: '#000000',
  },
}
SCSS
$custom: #b4198d;
$custom-light: #cf6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4198d",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 315.097,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.213,
    "h": 341.5
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4198D

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

Preview Lab → · Contrast checker → · Palette generator →

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