#B41790#B41790

#B41790 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.7% C 0.216 H 340.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B41790
RGBrgb(180, 23, 144)
HSLhsl(314, 77%, 40%)
HSVhsv(314, 87%, 71%)
CMYKcmyk(0%, 87.2%, 20%, 29.4%)
CIE-LABlab(41.74, 67.87, -26.85)
CIE-LCHlch(41.74, 72.99, 338.41°)
OKLaboklab(52.66% 0.2035 -0.0726)
OKLCHoklch(52.66% 0.216 340.4)
XYZxyz(24.1636, 12.3323, 27.4880)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41790 #17B43B
analogous
#8A17B4 #B41790 #B41741
triadic
#B41790 #90B417 #1790B4
tetradic
#B41790 #B48A17 #17B43B #1741B4
square
#B41790 #B48A17 #17B43B #1741B4
split-complementary
#B41790 #41B417 #17B48A
monochromatic
#470939 #7E1065 #B41790 #E325B8 #EA5BC9

Accessibility & contrast

On white

6.06
#B41790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B41790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41790
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41790#FFFFFF#000000##FFFFFF
##B417901.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#BF1F56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41790;
/* rgb */ color: rgb(180, 23, 144);
/* oklch */ color: oklch(52.7% 0.216 340.4);
Tailwind
colors: {
  custom: {
    50: '#cf6cb1',
    500: '#b41790',
    950: '#000000',
  },
}
SCSS
$custom: #b41790;
$custom-light: #cf6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b41790",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 313.758,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.21606,
    "h": 340.4
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#B41790
secondary
#59CE74
accent
#F46034
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #B41790

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

Preview Lab → · Contrast checker → · Palette generator →

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