#B42F83#B42F83

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

Color values

HEX#B42F83
RGBrgb(180, 47, 131)
HSLhsl(322, 59%, 45%)
HSVhsv(322, 74%, 71%)
CMYKcmyk(0%, 73.9%, 27.2%, 29.4%)
CIE-LABlab(43.33, 60.03, -16.46)
CIE-LCHlch(43.33, 62.25, 344.67°)
OKLaboklab(53.63% 0.1824 -0.0435)
OKLCHoklch(53.63% 0.187 346.6)
XYZxyz(23.9367, 13.3776, 22.7899)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F83 #2FB460
analogous
#A22FB4 #B42F83 #B42F41
triadic
#B42F83 #83B42F #2F83B4
tetradic
#B42F83 #B4A22F #2FB460 #2F41B4
square
#B42F83 #B4A22F #2FB460 #2F41B4
split-complementary
#B42F83 #41B42F #2FB4A2
monochromatic
#53163C #832260 #B42F83 #D14FA1 #DE80BB

Accessibility & contrast

On white

5.71
#B42F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F83
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F83#FFFFFF#000000##FFFFFF
##B42F831.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415885
Deuteranopia (green-blind)
#696F80
Tritanopia (blue-blind)
#C12B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42f83;
/* rgb */ color: rgb(180, 47, 131);
/* oklch */ color: oklch(53.6% 0.187 346.6);
Tailwind
colors: {
  custom: {
    50: '#cf74a7',
    500: '#b42f83',
    950: '#000000',
  },
}
SCSS
$custom: #b42f83;
$custom-light: #cf74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f83",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 322.105,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.18748,
    "h": 346.6
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#B42F83
secondary
#78C795
accent
#E27F46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42F83

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

Preview Lab → · Contrast checker → · Palette generator →

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