#B4187E#B4187E

#B4187E is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 347.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B4187E
RGBrgb(180, 24, 126)
HSLhsl(321, 76%, 40%)
HSVhsv(321, 87%, 71%)
CMYKcmyk(0%, 86.7%, 30%, 29.4%)
CIE-LABlab(41.00, 65.50, -16.94)
CIE-LCHlch(41.00, 67.66, 345.50°)
OKLaboklab(51.87% 0.2003 -0.0447)
OKLCHoklch(51.87% 0.205 347.4)
XYZxyz(22.9162, 11.8657, 20.8181)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4187E #18B44E
analogous
#9C18B4 #B4187E #B41830
triadic
#B4187E #7EB418 #187EB4
tetradic
#B4187E #B49C18 #18B44E #1830B4
square
#B4187E #B49C18 #18B44E #1830B4
split-complementary
#B4187E #30B418 #18B49C
monochromatic
#480A32 #7E1158 #B4187E #E227A1 #E95DB9

Accessibility & contrast

On white

6.23
#B4187E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4187E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4187E#FFFFFF#000000##FFFFFF
##B4187E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#C10C4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4187e;
/* rgb */ color: rgb(180, 24, 126);
/* oklch */ color: oklch(51.9% 0.205 347.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ca3',
    500: '#b4187e',
    950: '#000000',
  },
}
SCSS
$custom: #b4187e;
$custom-light: #cf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4187e",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 320.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.20522,
    "h": 347.4
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#B4187E
secondary
#5BCD82
accent
#F37735
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4187E

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

Preview Lab → · Contrast checker → · Palette generator →

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