#B4188E#B4188E

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

Color values

HEX#B4188E
RGBrgb(180, 24, 142)
HSLhsl(315, 76%, 40%)
HSVhsv(315, 87%, 71%)
CMYKcmyk(0%, 86.7%, 21.1%, 29.4%)
CIE-LABlab(41.71, 67.43, -25.68)
CIE-LCHlch(41.71, 72.16, 339.15°)
OKLaboklab(52.61% 0.2027 -0.0693)
OKLCHoklch(52.61% 0.214 341.1)
XYZxyz(24.0324, 12.3122, 26.6968)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4188E #18B43E
analogous
#8C18B4 #B4188E #B41840
triadic
#B4188E #8EB418 #188EB4
tetradic
#B4188E #B48C18 #18B43E #1840B4
square
#B4188E #B48C18 #18B43E #1840B4
split-complementary
#B4188E #40B418 #18B48C
monochromatic
#480A39 #7E1163 #B4188E #E227B5 #E95DC7

Accessibility & contrast

On white

6.07
#B4188E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4188E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4188E#FFFFFF#000000##FFFFFF
##B4188E1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#BF1E55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4188e;
/* rgb */ color: rgb(180, 24, 142);
/* oklch */ color: oklch(52.6% 0.214 341.1);
Tailwind
colors: {
  custom: {
    50: '#cf6daf',
    500: '#b4188e',
    950: '#000000',
  },
}
SCSS
$custom: #b4188e;
$custom-light: #cf6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#b4188e",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 314.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.21424,
    "h": 341.1
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#B4188E
secondary
#5BCD76
accent
#F36335
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B4188E

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

Preview Lab → · Contrast checker → · Palette generator →

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