#B42151#B42151

#B42151 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.182 H 8.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B42151
RGBrgb(180, 33, 81)
HSLhsl(340, 69%, 42%)
HSVhsv(340, 82%, 71%)
CMYKcmyk(0%, 81.7%, 55%, 29.4%)
CIE-LABlab(40.23, 59.21, 10.20)
CIE-LCHlch(40.23, 60.08, 9.77°)
OKLaboklab(50.83% 0.1803 0.026)
OKLCHoklch(50.83% 0.182 8.2)
XYZxyz(20.8535, 11.3881, 8.8831)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42151 #21B484
analogous
#B4219B #B42151 #B43B21
triadic
#B42151 #51B421 #2151B4
tetradic
#B42151 #9BB421 #21B484 #3B21B4
square
#B42151 #9BB421 #21B484 #3B21B4
split-complementary
#B42151 #21B43B #219BB4
monochromatic
#4D0E22 #80183A #B42151 #DA386D #E46B93

Accessibility & contrast

On white

6.41
#B42151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B42151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42151
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42151#FFFFFF#000000##FFFFFF
##B421511.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42151;
/* rgb */ color: rgb(180, 33, 81);
/* oklch */ color: oklch(50.8% 0.182 8.2);
Tailwind
colors: {
  custom: {
    50: '#d16d81',
    500: '#b42151',
    950: '#000000',
  },
}
SCSS
$custom: #b42151;
$custom-light: #d16d81;
$custom-dark: #000000;
JSON
{
  "hex": "#b42151",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 340.408,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.18215,
    "h": 8.2
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#B42151
secondary
#67CAAA
accent
#ECB23C
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42151

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

Preview Lab → · Contrast checker → · Palette generator →

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