#B42F91#B42F91

#B42F91 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.196 H 340.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B42F91
RGBrgb(180, 47, 145)
HSLhsl(316, 59%, 45%)
HSVhsv(316, 74%, 71%)
CMYKcmyk(0%, 73.9%, 19.4%, 29.4%)
CIE-LABlab(43.92, 61.87, -24.07)
CIE-LCHlch(43.92, 66.39, 338.74°)
OKLaboklab(54.25% 0.1849 -0.0649)
OKLCHoklch(54.25% 0.196 340.7)
XYZxyz(24.9505, 13.7831, 28.1290)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F91 #2FB452
analogous
#942FB4 #B42F91 #B42F4F
triadic
#B42F91 #91B42F #2F91B4
tetradic
#B42F91 #B4942F #2FB452 #2F4FB4
square
#B42F91 #B4942F #2FB452 #2F4FB4
split-complementary
#B42F91 #4FB42F #2FB494
monochromatic
#531643 #83226A #B42F91 #D14FAF #DE80C5

Accessibility & contrast

On white

5.59
#B42F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B42F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F91
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F91#FFFFFF#000000##FFFFFF
##B42F911.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#646F8E
Tritanopia (blue-blind)
#BF325C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42f91;
/* rgb */ color: rgb(180, 47, 145);
/* oklch */ color: oklch(54.3% 0.196 340.7);
Tailwind
colors: {
  custom: {
    50: '#ce74b1',
    500: '#b42f91',
    950: '#000000',
  },
}
SCSS
$custom: #b42f91;
$custom-light: #ce74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f91",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 315.789,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.19597,
    "h": 340.7
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#B42F91
secondary
#78C78D
accent
#E26F46
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42F91

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

Preview Lab → · Contrast checker → · Palette generator →

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