#B42F92#B42F92

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

Color values

HEX#B42F92
RGBrgb(180, 47, 146)
HSLhsl(315, 59%, 45%)
HSVhsv(315, 74%, 71%)
CMYKcmyk(0%, 73.9%, 18.9%, 29.4%)
CIE-LABlab(43.97, 62.01, -24.60)
CIE-LCHlch(43.97, 66.71, 338.36°)
OKLaboklab(54.3% 0.1851 -0.0664)
OKLCHoklch(54.3% 0.197 340.3)
XYZxyz(25.0279, 13.8141, 28.5369)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F92 #2FB451
analogous
#932FB4 #B42F92 #B42F50
triadic
#B42F92 #92B42F #2F92B4
tetradic
#B42F92 #B4932F #2FB451 #2F50B4
square
#B42F92 #B4932F #2FB451 #2F50B4
split-complementary
#B42F92 #50B42F #2FB493
monochromatic
#531643 #83226B #B42F92 #D14FB0 #DE80C6

Accessibility & contrast

On white

5.58
#B42F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F92
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F92#FFFFFF#000000##FFFFFF
##B42F921.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A95
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#BF335D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42f92;
/* rgb */ color: rgb(180, 47, 146);
/* oklch */ color: oklch(54.3% 0.197 340.3);
Tailwind
colors: {
  custom: {
    50: '#ce74b2',
    500: '#b42f92',
    950: '#000000',
  },
}
SCSS
$custom: #b42f92;
$custom-light: #ce74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f92",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 315.338,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.19661,
    "h": 340.3
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#B42F92
secondary
#78C78C
accent
#E26E46
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42F92

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

Preview Lab → · Contrast checker → · Palette generator →

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