#B42874#B42874

#B42874 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.187 H 352.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B42874
RGBrgb(180, 40, 116)
HSLhsl(327, 64%, 43%)
HSVhsv(327, 78%, 71%)
CMYKcmyk(0%, 77.8%, 35.6%, 29.4%)
CIE-LABlab(41.98, 60.48, -9.26)
CIE-LCHlch(41.98, 61.18, 351.30°)
OKLaboklab(52.46% 0.1856 -0.0238)
OKLCHoklch(52.46% 0.187 352.7)
XYZxyz(22.7350, 12.4846, 17.7321)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42874 #28B468
analogous
#AE28B4 #B42874 #B4282E
triadic
#B42874 #74B428 #2874B4
tetradic
#B42874 #B4AE28 #28B468 #282EB4
square
#B42874 #B4AE28 #28B468 #282EB4
split-complementary
#B42874 #2EB428 #28B4AE
monochromatic
#501233 #821D54 #B42874 #D54493 #E176B0

Accessibility & contrast

On white

6.01
#B42874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B42874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42874
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42874#FFFFFF#000000##FFFFFF
##B428741.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#6B6C71
Tritanopia (blue-blind)
#C2194B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42874;
/* rgb */ color: rgb(180, 40, 116);
/* oklch */ color: oklch(52.5% 0.187 352.7);
Tailwind
colors: {
  custom: {
    50: '#cf719c',
    500: '#b42874',
    950: '#000000',
  },
}
SCSS
$custom: #b42874;
$custom-light: #cf719c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42874",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 327.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.18715,
    "h": 352.7
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#B42874
secondary
#70C898
accent
#E78D41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42874

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

Preview Lab → · Contrast checker → · Palette generator →

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