#B4188B#B4188B

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

Color values

HEX#B4188B
RGBrgb(180, 24, 139)
HSLhsl(316, 76%, 40%)
HSVhsv(316, 87%, 71%)
CMYKcmyk(0%, 86.7%, 22.8%, 29.4%)
CIE-LABlab(41.57, 67.05, -24.07)
CIE-LCHlch(41.57, 71.24, 340.26°)
OKLaboklab(52.47% 0.2024 -0.0647)
OKLCHoklch(52.47% 0.212 342.3)
XYZxyz(23.8102, 12.2233, 25.5265)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4188B #18B441
analogous
#8F18B4 #B4188B #B4183D
triadic
#B4188B #8BB418 #188BB4
tetradic
#B4188B #B48F18 #18B441 #183DB4
square
#B4188B #B48F18 #18B441 #183DB4
split-complementary
#B4188B #3DB418 #18B48F
monochromatic
#480A38 #7E1161 #B4188B #E227B1 #E95DC5

Accessibility & contrast

On white

6.10
#B4188B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B4188B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4188B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4188B#FFFFFF#000000##FFFFFF
##B4188B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4188b;
/* rgb */ color: rgb(180, 24, 139);
/* oklch */ color: oklch(52.5% 0.212 342.3);
Tailwind
colors: {
  custom: {
    50: '#cf6dad',
    500: '#b4188b',
    950: '#000000',
  },
}
SCSS
$custom: #b4188b;
$custom-light: #cf6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4188b",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 315.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.21246,
    "h": 342.3
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#B4188B
secondary
#5BCD79
accent
#F36735
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4188B

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

Preview Lab → · Contrast checker → · Palette generator →

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