#B42F5D#B42F5D

#B42F5D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.172 H 4.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B42F5D
RGBrgb(180, 47, 93)
HSLhsl(339, 59%, 45%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 73.9%, 48.3%, 29.4%)
CIE-LABlab(42.05, 55.94, 5.20)
CIE-LCHlch(42.05, 56.18, 5.31°)
OKLaboklab(52.27% 0.1711 0.0139)
OKLCHoklch(52.27% 0.172 4.6)
XYZxyz(21.8165, 12.5296, 11.6234)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F5D #2FB486
analogous
#B42FA0 #B42F5D #B4442F
triadic
#B42F5D #5DB42F #2F5DB4
tetradic
#B42F5D #A0B42F #2FB486 #442FB4
square
#B42F5D #A0B42F #2FB486 #442FB4
split-complementary
#B42F5D #2FB444 #2FA0B4
monochromatic
#53162B #832244 #B42F5D #D14F7C #DE80A0

Accessibility & contrast

On white

5.99
#B42F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B42F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F5D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F5D#FFFFFF#000000##FFFFFF
##B42F5D1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E535E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C41442
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f5d;
/* rgb */ color: rgb(180, 47, 93);
/* oklch */ color: oklch(52.3% 0.172 4.6);
Tailwind
colors: {
  custom: {
    50: '#d0738a',
    500: '#b42f5d',
    950: '#000000',
  },
}
SCSS
$custom: #b42f5d;
$custom-light: #d0738a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f5d",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 339.248,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.17163,
    "h": 4.6
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#B42F5D
secondary
#78C7AB
accent
#E2AC46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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