#B4188D#B4188D

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

Color values

HEX#B4188D
RGBrgb(180, 24, 141)
HSLhsl(315, 76%, 40%)
HSVhsv(315, 87%, 71%)
CMYKcmyk(0%, 86.7%, 21.7%, 29.4%)
CIE-LABlab(41.66, 67.30, -25.14)
CIE-LCHlch(41.66, 71.85, 339.51°)
OKLaboklab(52.56% 0.2026 -0.0678)
OKLCHoklch(52.56% 0.214 341.5)
XYZxyz(23.9576, 12.2823, 26.3032)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4188D #18B43F
analogous
#8D18B4 #B4188D #B4183F
triadic
#B4188D #8DB418 #188DB4
tetradic
#B4188D #B48D18 #18B43F #183FB4
square
#B4188D #B48D18 #18B43F #183FB4
split-complementary
#B4188D #3FB418 #18B48D
monochromatic
#480A38 #7E1163 #B4188D #E227B3 #E95DC6

Accessibility & contrast

On white

6.08
#B4188D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4188D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4188D#FFFFFF#000000##FFFFFF
##B4188D1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4188d;
/* rgb */ color: rgb(180, 24, 141);
/* oklch */ color: oklch(52.6% 0.214 341.5);
Tailwind
colors: {
  custom: {
    50: '#cf6dae',
    500: '#b4188d',
    950: '#000000',
  },
}
SCSS
$custom: #b4188d;
$custom-light: #cf6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4188d",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 315,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.21364,
    "h": 341.5
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#B4188D
secondary
#5BCD77
accent
#F36435
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4188D

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

Preview Lab → · Contrast checker → · Palette generator →

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