#B42F80#B42F80

#B42F80 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.186 H 347.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B42F80
RGBrgb(180, 47, 128)
HSLhsl(323, 59%, 45%)
HSVhsv(323, 74%, 71%)
CMYKcmyk(0%, 73.9%, 28.9%, 29.4%)
CIE-LABlab(43.21, 59.66, -14.80)
CIE-LCHlch(43.21, 61.47, 346.07°)
OKLaboklab(53.5% 0.1817 -0.039)
OKLCHoklch(53.5% 0.186 347.9)
XYZxyz(23.7363, 13.2975, 21.7345)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F80 #2FB463
analogous
#A62FB4 #B42F80 #B42F3D
triadic
#B42F80 #80B42F #2F80B4
tetradic
#B42F80 #B4A62F #2FB463 #2F3DB4
square
#B42F80 #B4A62F #2FB463 #2F3DB4
split-complementary
#B42F80 #3DB42F #2FB4A6
monochromatic
#53163B #83225D #B42F80 #D14F9E #DE80B9

Accessibility & contrast

On white

5.74
#B42F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B42F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F80
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F80#FFFFFF#000000##FFFFFF
##B42F801.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425782
Deuteranopia (green-blind)
#6A6E7D
Tritanopia (blue-blind)
#C12953
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42f80;
/* rgb */ color: rgb(180, 47, 128);
/* oklch */ color: oklch(53.5% 0.186 347.9);
Tailwind
colors: {
  custom: {
    50: '#cf74a5',
    500: '#b42f80',
    950: '#000000',
  },
}
SCSS
$custom: #b42f80;
$custom-light: #cf74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f80",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 323.459,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.18581,
    "h": 347.9
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#B42F80
secondary
#78C797
accent
#E28346
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42F80

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

Preview Lab → · Contrast checker → · Palette generator →

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