#B42E8E#B42E8E

#B42E8E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.195 H 341.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B42E8E
RGBrgb(180, 46, 142)
HSLhsl(317, 59%, 44%)
HSVhsv(317, 74%, 71%)
CMYKcmyk(0%, 74.4%, 21.1%, 29.4%)
CIE-LABlab(43.67, 61.79, -22.63)
CIE-LCHlch(43.67, 65.80, 339.88°)
OKLaboklab(54.03% 0.1855 -0.0608)
OKLCHoklch(54.03% 0.195 341.8)
XYZxyz(24.6827, 13.6128, 26.9136)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E8E #2EB454
analogous
#972EB4 #B42E8E #B42E4B
triadic
#B42E8E #8EB42E #2E8EB4
tetradic
#B42E8E #B4972E #2EB454 #2E4BB4
square
#B42E8E #B4972E #2EB454 #2E4BB4
split-complementary
#B42E8E #4BB42E #2EB497
monochromatic
#531541 #832268 #B42E8E #D24EAC #DE7EC3

Accessibility & contrast

On white

5.64
#B42E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B42E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E8E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E8E#FFFFFF#000000##FFFFFF
##B42E8E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#BF305A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42e8e;
/* rgb */ color: rgb(180, 46, 142);
/* oklch */ color: oklch(54.0% 0.195 341.8);
Tailwind
colors: {
  custom: {
    50: '#ce74af',
    500: '#b42e8e',
    950: '#000000',
  },
}
SCSS
$custom: #b42e8e;
$custom-light: #ce74af;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e8e",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 317.015,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.19517,
    "h": 341.8
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#B42E8E
secondary
#77C78E
accent
#E27245
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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