#B41852#B41852

#B41852 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.189 H 6.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B41852
RGBrgb(180, 24, 82)
HSLhsl(338, 76%, 40%)
HSVhsv(338, 87%, 71%)
CMYKcmyk(0%, 86.7%, 54.4%, 29.4%)
CIE-LABlab(39.53, 61.35, 8.59)
CIE-LCHlch(39.53, 61.95, 7.97°)
OKLaboklab(50.32% 0.1874 0.0221)
OKLCHoklch(50.32% 0.189 6.7)
XYZxyz(20.6740, 10.9688, 9.0096)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41852 #18B47A
analogous
#B418A0 #B41852 #B42C18
triadic
#B41852 #52B418 #1852B4
tetradic
#B41852 #A0B418 #18B47A #2C18B4
square
#B41852 #A0B418 #18B47A #2C18B4
split-complementary
#B41852 #18B42C #18A0B4
monochromatic
#480A21 #7E1139 #B41852 #E2276D #E95D91

Accessibility & contrast

On white

6.58
#B41852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B41852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41852
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41852#FFFFFF#000000##FFFFFF
##B418521.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#C50034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b41852;
/* rgb */ color: rgb(180, 24, 82);
/* oklch */ color: oklch(50.3% 0.189 6.7);
Tailwind
colors: {
  custom: {
    50: '#d16a82',
    500: '#b41852',
    950: '#000000',
  },
}
SCSS
$custom: #b41852;
$custom-light: #d16a82;
$custom-dark: #000000;
JSON
{
  "hex": "#b41852",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 337.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.18868,
    "h": 6.7
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#B41852
secondary
#5BCDA3
accent
#F3AC35
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B41852

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

Preview Lab → · Contrast checker → · Palette generator →

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