#B42E6D#B42E6D

#B42E6D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.178 H 356.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B42E6D
RGBrgb(180, 46, 109)
HSLhsl(332, 59%, 44%)
HSVhsv(332, 74%, 71%)
CMYKcmyk(0%, 74.4%, 39.4%, 29.4%)
CIE-LABlab(42.41, 57.84, -4.27)
CIE-LCHlch(42.41, 57.99, 355.78°)
OKLaboklab(52.69% 0.1776 -0.0105)
OKLCHoklch(52.69% 0.178 356.6)
XYZxyz(22.5613, 12.7642, 15.7407)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E6D #2EB475
analogous
#B42EB0 #B42E6D #B4322E
triadic
#B42E6D #6DB42E #2E6DB4
tetradic
#B42E6D #B0B42E #2EB475 #322EB4
square
#B42E6D #B0B42E #2EB475 #322EB4
split-complementary
#B42E6D #2EB432 #2EB0B4
monochromatic
#531532 #83224F #B42E6D #D24E8C #DE7EAB

Accessibility & contrast

On white

5.91
#B42E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B42E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E6D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E6D#FFFFFF#000000##FFFFFF
##B42E6D1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#6E6D6A
Tritanopia (blue-blind)
#C31D49
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e6d;
/* rgb */ color: rgb(180, 46, 109);
/* oklch */ color: oklch(52.7% 0.178 356.6);
Tailwind
colors: {
  custom: {
    50: '#cf7396',
    500: '#b42e6d',
    950: '#000000',
  },
}
SCSS
$custom: #b42e6d;
$custom-light: #cf7396;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e6d",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 331.791,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.17789,
    "h": 356.6
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#B42E6D
secondary
#77C7A1
accent
#E29945
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B42E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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