#B42A90#B42A90

#B42A90 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.8% C 0.201 H 340.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B42A90
RGBrgb(180, 42, 144)
HSLhsl(316, 62%, 44%)
HSVhsv(316, 77%, 71%)
CMYKcmyk(0%, 76.7%, 20%, 29.4%)
CIE-LABlab(43.32, 63.30, -24.39)
CIE-LCHlch(43.32, 67.84, 338.93°)
OKLaboklab(53.81% 0.1896 -0.0657)
OKLCHoklch(53.81% 0.201 340.9)
XYZxyz(24.6852, 13.3754, 27.6618)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A90 #2AB44E
analogous
#932AB4 #B42A90 #B42A4B
triadic
#B42A90 #90B42A #2A90B4
tetradic
#B42A90 #B4932A #2AB44E #2A4BB4
square
#B42A90 #B4932A #2AB44E #2A4BB4
split-complementary
#B42A90 #4BB42A #2AB493
monochromatic
#511341 #821E68 #B42A90 #D447AF #E079C5

Accessibility & contrast

On white

5.71
#B42A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B42A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A90
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A90#FFFFFF#000000##FFFFFF
##B42A901.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365893
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#BF2E5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42a90;
/* rgb */ color: rgb(180, 42, 144);
/* oklch */ color: oklch(53.8% 0.201 340.9);
Tailwind
colors: {
  custom: {
    50: '#cf72b0',
    500: '#b42a90',
    950: '#000000',
  },
}
SCSS
$custom: #b42a90;
$custom-light: #cf72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a90",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 315.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.20062,
    "h": 340.9
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#B42A90
secondary
#72C888
accent
#E56D43
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42A90

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

Preview Lab → · Contrast checker → · Palette generator →

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