#B42790#B42790

#B42790 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.204 H 340.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B42790
RGBrgb(180, 39, 144)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 78.3%, 20%, 29.4%)
CIE-LABlab(43.02, 64.17, -24.86)
CIE-LCHlch(43.02, 68.82, 338.82°)
OKLaboklab(53.59% 0.1922 -0.067)
OKLCHoklch(53.59% 0.204 340.8)
XYZxyz(24.5827, 13.1705, 27.6277)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42790 #27B44B
analogous
#9127B4 #B42790 #B42749
triadic
#B42790 #90B427 #2790B4
tetradic
#B42790 #B49127 #27B44B #2749B4
square
#B42790 #B49127 #27B44B #2749B4
split-complementary
#B42790 #49B427 #27B491
monochromatic
#4F1140 #821C68 #B42790 #D642B0 #E174C5

Accessibility & contrast

On white

5.78
#B42790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B42790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42790
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42790#FFFFFF#000000##FFFFFF
##B427901.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345793
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#BF2B59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42790;
/* rgb */ color: rgb(180, 39, 144);
/* oklch */ color: oklch(53.6% 0.204 340.8);
Tailwind
colors: {
  custom: {
    50: '#cf71b0',
    500: '#b42790',
    950: '#000000',
  },
}
SCSS
$custom: #b42790;
$custom-light: #cf71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42790",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 315.319,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.20357,
    "h": 340.8
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#B42790
secondary
#6FC885
accent
#E76B40
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42790

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

Preview Lab → · Contrast checker → · Palette generator →

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