#B42E70#B42E70

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

Color values

HEX#B42E70
RGBrgb(180, 46, 112)
HSLhsl(330, 59%, 44%)
HSVhsv(330, 74%, 71%)
CMYKcmyk(0%, 74.4%, 37.8%, 29.4%)
CIE-LABlab(42.51, 58.15, -5.98)
CIE-LCHlch(42.51, 58.46, 354.13°)
OKLaboklab(52.8% 0.1785 -0.015)
OKLCHoklch(52.8% 0.179 355.2)
XYZxyz(22.7255, 12.8299, 16.6058)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E70 #2EB472
analogous
#B42EB3 #B42E70 #B42F2E
triadic
#B42E70 #70B42E #2E70B4
tetradic
#B42E70 #B3B42E #2EB472 #2F2EB4
square
#B42E70 #B3B42E #2EB472 #2F2EB4
split-complementary
#B42E70 #2EB42F #2EB3B4
monochromatic
#531533 #832252 #B42E70 #D24E8F #DE7EAD

Accessibility & contrast

On white

5.89
#B42E70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B42E70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E70
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E70#FFFFFF#000000##FFFFFF
##B42E701.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485572
Deuteranopia (green-blind)
#6D6D6D
Tritanopia (blue-blind)
#C21F4B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e70;
/* rgb */ color: rgb(180, 46, 112);
/* oklch */ color: oklch(52.8% 0.179 355.2);
Tailwind
colors: {
  custom: {
    50: '#cf7399',
    500: '#b42e70',
    950: '#000000',
  },
}
SCSS
$custom: #b42e70;
$custom-light: #cf7399;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e70",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 330.448,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.17912,
    "h": 355.2
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#B42E70
secondary
#77C79F
accent
#E29545
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B42E70

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

Preview Lab → · Contrast checker → · Palette generator →

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