#B4188C#B4188C

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

Color values

HEX#B4188C
RGBrgb(180, 24, 140)
HSLhsl(315, 76%, 40%)
HSVhsv(315, 87%, 71%)
CMYKcmyk(0%, 86.7%, 22.2%, 29.4%)
CIE-LABlab(41.61, 67.18, -24.61)
CIE-LCHlch(41.61, 71.54, 339.88°)
OKLaboklab(52.52% 0.2025 -0.0662)
OKLCHoklch(52.52% 0.213 341.9)
XYZxyz(23.8836, 12.2526, 25.9131)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4188C #18B440
analogous
#8E18B4 #B4188C #B4183E
triadic
#B4188C #8CB418 #188CB4
tetradic
#B4188C #B48E18 #18B440 #183EB4
square
#B4188C #B48E18 #18B440 #183EB4
split-complementary
#B4188C #3EB418 #18B48E
monochromatic
#480A38 #7E1162 #B4188C #E227B2 #E95DC5

Accessibility & contrast

On white

6.09
#B4188C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B4188C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4188C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4188C#FFFFFF#000000##FFFFFF
##B4188C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4188c;
/* rgb */ color: rgb(180, 24, 140);
/* oklch */ color: oklch(52.5% 0.213 341.9);
Tailwind
colors: {
  custom: {
    50: '#cf6dae',
    500: '#b4188c',
    950: '#000000',
  },
}
SCSS
$custom: #b4188c;
$custom-light: #cf6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4188c",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 315.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.21305,
    "h": 341.9
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#B4188C
secondary
#5BCD78
accent
#F36635
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4188C

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

Preview Lab → · Contrast checker → · Palette generator →

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