#B4185E#B4185E

#B4185E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.192 H 1.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B4185E
RGBrgb(180, 24, 94)
HSLhsl(333, 76%, 40%)
HSVhsv(333, 87%, 71%)
CMYKcmyk(0%, 86.7%, 47.8%, 29.4%)
CIE-LABlab(39.86, 62.31, 1.42)
CIE-LCHlch(39.86, 62.33, 1.31°)
OKLaboklab(50.67% 0.1917 0.0043)
OKLCHoklch(50.67% 0.192 1.3)
XYZxyz(21.1713, 11.1677, 11.6283)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4185E #18B46E
analogous
#B418AC #B4185E #B42018
triadic
#B4185E #5EB418 #185EB4
tetradic
#B4185E #ACB418 #18B46E #2018B4
square
#B4185E #ACB418 #18B46E #2018B4
split-complementary
#B4185E #18B420 #18ACB4
monochromatic
#480A26 #7E1142 #B4185E #E2277B #E95D9C

Accessibility & contrast

On white

6.50
#B4185E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B4185E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4185E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4185E#FFFFFF#000000##FFFFFF
##B4185E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#C4003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b4185e;
/* rgb */ color: rgb(180, 24, 94);
/* oklch */ color: oklch(50.7% 0.192 1.3);
Tailwind
colors: {
  custom: {
    50: '#d16b8b',
    500: '#b4185e',
    950: '#000000',
  },
}
SCSS
$custom: #b4185e;
$custom-light: #d16b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4185e",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 333.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.19171,
    "h": 1.3
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#B4185E
secondary
#5BCD9A
accent
#F39E35
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B4185E

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

Preview Lab → · Contrast checker → · Palette generator →

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