#B42F60#B42F60

#B42F60 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.172 H 3.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B42F60
RGBrgb(180, 47, 96)
HSLhsl(338, 59%, 45%)
HSVhsv(338, 74%, 71%)
CMYKcmyk(0%, 73.9%, 46.7%, 29.4%)
CIE-LABlab(42.13, 56.21, 3.44)
CIE-LCHlch(42.13, 56.32, 3.51°)
OKLaboklab(52.36% 0.1722 0.0094)
OKLCHoklch(52.36% 0.172 3.1)
XYZxyz(21.9520, 12.5838, 12.3370)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F60 #2FB483
analogous
#B42FA2 #B42F60 #B4412F
triadic
#B42F60 #60B42F #2F60B4
tetradic
#B42F60 #A2B42F #2FB483 #412FB4
square
#B42F60 #A2B42F #2FB483 #412FB4
split-complementary
#B42F60 #2FB441 #2FA2B4
monochromatic
#53162C #832246 #B42F60 #D14F7F #DE80A2

Accessibility & contrast

On white

5.97
#B42F60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B42F60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F60
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F60#FFFFFF#000000##FFFFFF
##B42F601.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5361
Deuteranopia (green-blind)
#716D5D
Tritanopia (blue-blind)
#C41644
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f60;
/* rgb */ color: rgb(180, 47, 96);
/* oklch */ color: oklch(52.4% 0.172 3.1);
Tailwind
colors: {
  custom: {
    50: '#d0738c',
    500: '#b42f60',
    950: '#000000',
  },
}
SCSS
$custom: #b42f60;
$custom-light: #d0738c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f60",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 337.895,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.17241,
    "h": 3.1
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#B42F60
secondary
#78C7AA
accent
#E2A846
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42F60

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

Preview Lab → · Contrast checker → · Palette generator →

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