#B42F7F#B42F7F

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

Color values

HEX#B42F7F
RGBrgb(180, 47, 127)
HSLhsl(324, 59%, 45%)
HSVhsv(324, 74%, 71%)
CMYKcmyk(0%, 73.9%, 29.4%, 29.4%)
CIE-LABlab(43.17, 59.54, -14.25)
CIE-LCHlch(43.17, 61.22, 346.54°)
OKLaboklab(53.46% 0.1814 -0.0374)
OKLCHoklch(53.46% 0.185 348.3)
XYZxyz(23.6709, 13.2713, 21.3896)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F7F #2FB464
analogous
#A72FB4 #B42F7F #B42F3D
triadic
#B42F7F #7FB42F #2F7FB4
tetradic
#B42F7F #B4A72F #2FB464 #2F3DB4
square
#B42F7F #B4A72F #2FB464 #2F3DB4
split-complementary
#B42F7F #3DB42F #2FB4A7
monochromatic
#53163B #83225D #B42F7F #D14F9D #DE80B8

Accessibility & contrast

On white

5.75
#B42F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F7F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F7F#FFFFFF#000000##FFFFFF
##B42F7F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42f7f;
/* rgb */ color: rgb(180, 47, 127);
/* oklch */ color: oklch(53.5% 0.185 348.3);
Tailwind
colors: {
  custom: {
    50: '#cf74a4',
    500: '#b42f7f',
    950: '#000000',
  },
}
SCSS
$custom: #b42f7f;
$custom-light: #cf74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f7f",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 323.91,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.18526,
    "h": 348.3
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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