#B42751#B42751

#B42751 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.177 H 9.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B42751
RGBrgb(180, 39, 81)
HSLhsl(342, 64%, 43%)
HSVhsv(342, 78%, 71%)
CMYKcmyk(0%, 78.3%, 55%, 29.4%)
CIE-LABlab(40.82, 57.53, 11.02)
CIE-LCHlch(40.82, 58.58, 10.85°)
OKLaboklab(51.26% 0.1749 0.028)
OKLCHoklch(51.26% 0.177 9.1)
XYZxyz(21.0351, 11.7514, 8.9436)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42751 #27B48A
analogous
#B42797 #B42751 #B44427
triadic
#B42751 #51B427 #2751B4
tetradic
#B42751 #97B427 #27B48A #4427B4
square
#B42751 #97B427 #27B48A #4427B4
split-complementary
#B42751 #27B444 #2797B4
monochromatic
#4F1124 #821C3A #B42751 #D6426E #E17495

Accessibility & contrast

On white

6.27
#B42751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42751
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42751#FFFFFF#000000##FFFFFF
##B427511.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42751;
/* rgb */ color: rgb(180, 39, 81);
/* oklch */ color: oklch(51.3% 0.177 9.1);
Tailwind
colors: {
  custom: {
    50: '#d16f81',
    500: '#b42751',
    950: '#000000',
  },
}
SCSS
$custom: #b42751;
$custom-light: #d16f81;
$custom-dark: #000000;
JSON
{
  "hex": "#b42751",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 342.128,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.1771,
    "h": 9.1
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#B42751
secondary
#6FC8AE
accent
#E7B640
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42751

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

Preview Lab → · Contrast checker → · Palette generator →

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