#B42F82#B42F82

#B42F82 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.187 H 347.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B42F82
RGBrgb(180, 47, 130)
HSLhsl(323, 59%, 45%)
HSVhsv(323, 74%, 71%)
CMYKcmyk(0%, 73.9%, 27.8%, 29.4%)
CIE-LABlab(43.29, 59.91, -15.91)
CIE-LCHlch(43.29, 61.98, 345.13°)
OKLaboklab(53.58% 0.1821 -0.042)
OKLCHoklch(53.58% 0.187 347)
XYZxyz(23.8693, 13.3507, 22.4347)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F82 #2FB461
analogous
#A32FB4 #B42F82 #B42F40
triadic
#B42F82 #82B42F #2F82B4
tetradic
#B42F82 #B4A32F #2FB461 #2F40B4
square
#B42F82 #B4A32F #2FB461 #2F40B4
split-complementary
#B42F82 #40B42F #2FB4A3
monochromatic
#53163C #83225F #B42F82 #D14FA0 #DE80BA

Accessibility & contrast

On white

5.72
#B42F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B42F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F82
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F82#FFFFFF#000000##FFFFFF
##B42F821.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#696F7F
Tritanopia (blue-blind)
#C12A54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42f82;
/* rgb */ color: rgb(180, 47, 130);
/* oklch */ color: oklch(53.6% 0.187 347.0);
Tailwind
colors: {
  custom: {
    50: '#cf74a6',
    500: '#b42f82',
    950: '#000000',
  },
}
SCSS
$custom: #b42f82;
$custom-light: #cf74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f82",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 322.556,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.18692,
    "h": 347
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#B42F82
secondary
#78C796
accent
#E28146
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42F82

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

Preview Lab → · Contrast checker → · Palette generator →

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