#B42F5C#B42F5C

#B42F5C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.171 H 5.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B42F5C
RGBrgb(180, 47, 92)
HSLhsl(340, 59%, 45%)
HSVhsv(340, 74%, 71%)
CMYKcmyk(0%, 73.9%, 48.9%, 29.4%)
CIE-LABlab(42.02, 55.85, 5.79)
CIE-LCHlch(42.02, 56.15, 5.92°)
OKLaboklab(52.24% 0.1707 0.0153)
OKLCHoklch(52.24% 0.171 5.1)
XYZxyz(21.7725, 12.5120, 11.3917)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F5C #2FB487
analogous
#B42F9F #B42F5C #B4442F
triadic
#B42F5C #5CB42F #2F5CB4
tetradic
#B42F5C #9FB42F #2FB487 #442FB4
square
#B42F5C #9FB42F #2FB487 #442FB4
split-complementary
#B42F5C #2FB444 #2F9FB4
monochromatic
#53162A #832243 #B42F5C #D14F7B #DE809F

Accessibility & contrast

On white

6.00
#B42F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B42F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F5C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F5C#FFFFFF#000000##FFFFFF
##B42F5C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#C41342
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f5c;
/* rgb */ color: rgb(180, 47, 92);
/* oklch */ color: oklch(52.2% 0.171 5.1);
Tailwind
colors: {
  custom: {
    50: '#d07389',
    500: '#b42f5c',
    950: '#000000',
  },
}
SCSS
$custom: #b42f5c;
$custom-light: #d07389;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f5c",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 339.699,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.17139,
    "h": 5.1
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#B42F5C
secondary
#78C7AC
accent
#E2AD46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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