#B4188A#B4188A

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

Color values

HEX#B4188A
RGBrgb(180, 24, 138)
HSLhsl(316, 76%, 40%)
HSVhsv(316, 87%, 71%)
CMYKcmyk(0%, 86.7%, 23.3%, 29.4%)
CIE-LABlab(41.52, 66.93, -23.52)
CIE-LCHlch(41.52, 70.94, 340.63°)
OKLaboklab(52.42% 0.2022 -0.0632)
OKLCHoklch(52.42% 0.212 342.6)
XYZxyz(23.7374, 12.1942, 25.1435)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4188A #18B442
analogous
#9018B4 #B4188A #B4183C
triadic
#B4188A #8AB418 #188AB4
tetradic
#B4188A #B49018 #18B442 #183CB4
square
#B4188A #B49018 #18B442 #183CB4
split-complementary
#B4188A #3CB418 #18B490
monochromatic
#480A37 #7E1161 #B4188A #E227B0 #E95DC4

Accessibility & contrast

On white

6.11
#B4188A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4188A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4188A#FFFFFF#000000##FFFFFF
##B4188A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#C01A53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4188a;
/* rgb */ color: rgb(180, 24, 138);
/* oklch */ color: oklch(52.4% 0.212 342.6);
Tailwind
colors: {
  custom: {
    50: '#cf6cac',
    500: '#b4188a',
    950: '#000000',
  },
}
SCSS
$custom: #b4188a;
$custom-light: #cf6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4188a",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 316.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.21187,
    "h": 342.6
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4188A

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

Preview Lab → · Contrast checker → · Palette generator →

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