#B4187D#B4187D

#B4187D is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.205 H 347.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B4187D
RGBrgb(180, 24, 125)
HSLhsl(321, 76%, 40%)
HSVhsv(321, 87%, 71%)
CMYKcmyk(0%, 86.7%, 30.6%, 29.4%)
CIE-LABlab(40.96, 65.39, -16.38)
CIE-LCHlch(40.96, 67.41, 345.93°)
OKLaboklab(51.83% 0.2001 -0.0432)
OKLCHoklch(51.83% 0.205 347.8)
XYZxyz(22.8520, 11.8400, 20.4800)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4187D #18B44F
analogous
#9D18B4 #B4187D #B4182F
triadic
#B4187D #7DB418 #187DB4
tetradic
#B4187D #B49D18 #18B44F #182FB4
square
#B4187D #B49D18 #18B44F #182FB4
split-complementary
#B4187D #2FB418 #18B49D
monochromatic
#480A32 #7E1157 #B4187D #E227A0 #E95DB8

Accessibility & contrast

On white

6.24
#B4187D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B4187D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4187D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4187D#FFFFFF#000000##FFFFFF
##B4187D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#C10A4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4187d;
/* rgb */ color: rgb(180, 24, 125);
/* oklch */ color: oklch(51.8% 0.205 347.8);
Tailwind
colors: {
  custom: {
    50: '#cf6ca2',
    500: '#b4187d',
    950: '#000000',
  },
}
SCSS
$custom: #b4187d;
$custom-light: #cf6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4187d",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 321.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.2047,
    "h": 347.8
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#B4187D
secondary
#5BCD83
accent
#F37835
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4187D

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

Preview Lab → · Contrast checker → · Palette generator →

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