#B42974#B42974

#B42974 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.186 H 352.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B42974
RGBrgb(180, 41, 116)
HSLhsl(328, 63%, 43%)
HSVhsv(328, 77%, 71%)
CMYKcmyk(0%, 77.2%, 35.6%, 29.4%)
CIE-LABlab(42.08, 60.18, -9.10)
CIE-LCHlch(42.08, 60.86, 351.40°)
OKLaboklab(52.53% 0.1847 -0.0234)
OKLCHoklch(52.53% 0.186 352.8)
XYZxyz(22.7691, 12.5529, 17.7435)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42974 #29B469
analogous
#AE29B4 #B42974 #B4292E
triadic
#B42974 #74B429 #2974B4
tetradic
#B42974 #B4AE29 #29B469 #292EB4
square
#B42974 #B4AE29 #29B469 #292EB4
split-complementary
#B42974 #2EB429 #29B4AE
monochromatic
#501234 #821E54 #B42974 #D54593 #E077B0

Accessibility & contrast

On white

5.98
#B42974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B42974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42974
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42974#FFFFFF#000000##FFFFFF
##B429741.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42974;
/* rgb */ color: rgb(180, 41, 116);
/* oklch */ color: oklch(52.5% 0.186 352.8);
Tailwind
colors: {
  custom: {
    50: '#cf719c',
    500: '#b42974',
    950: '#000000',
  },
}
SCSS
$custom: #b42974;
$custom-light: #cf719c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42974",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 327.626,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.18615,
    "h": 352.8
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#B42974
secondary
#71C899
accent
#E68D42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42974

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

Preview Lab → · Contrast checker → · Palette generator →

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