#B42E6F#B42E6F

#B42E6F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.179 H 355.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B42E6F
RGBrgb(180, 46, 111)
HSLhsl(331, 59%, 44%)
HSVhsv(331, 74%, 71%)
CMYKcmyk(0%, 74.4%, 38.3%, 29.4%)
CIE-LABlab(42.47, 58.05, -5.41)
CIE-LCHlch(42.47, 58.30, 354.67°)
OKLaboklab(52.76% 0.1782 -0.0135)
OKLCHoklch(52.76% 0.179 355.7)
XYZxyz(22.6701, 12.8078, 16.3142)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E6F #2EB473
analogous
#B42EB2 #B42E6F #B4302E
triadic
#B42E6F #6FB42E #2E6FB4
tetradic
#B42E6F #B2B42E #2EB473 #302EB4
square
#B42E6F #B2B42E #2EB473 #302EB4
split-complementary
#B42E6F #2EB430 #2EB2B4
monochromatic
#531533 #832251 #B42E6F #D24E8E #DE7EAD

Accessibility & contrast

On white

5.90
#B42E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B42E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E6F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E6F#FFFFFF#000000##FFFFFF
##B42E6F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#6E6D6C
Tritanopia (blue-blind)
#C21E4A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e6f;
/* rgb */ color: rgb(180, 46, 111);
/* oklch */ color: oklch(52.8% 0.179 355.7);
Tailwind
colors: {
  custom: {
    50: '#cf7398',
    500: '#b42e6f',
    950: '#000000',
  },
}
SCSS
$custom: #b42e6f;
$custom-light: #cf7398;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e6f",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 330.896,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.1787,
    "h": 355.7
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#B42E6F
secondary
#77C7A0
accent
#E29645
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B42E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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