#B42094#B42094

#B42094 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.212 H 339.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B42094
RGBrgb(180, 32, 148)
HSLhsl(313, 70%, 42%)
HSVhsv(313, 82%, 71%)
CMYKcmyk(0%, 82.2%, 17.8%, 29.4%)
CIE-LABlab(42.58, 66.52, -27.97)
CIE-LCHlch(42.58, 72.16, 337.19°)
OKLaboklab(53.33% 0.1982 -0.0759)
OKLCHoklch(53.33% 0.212 339.1)
XYZxyz(24.6849, 12.8770, 29.1967)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42094 #20B440
analogous
#8A20B4 #B42094 #B4204A
triadic
#B42094 #94B420 #2094B4
tetradic
#B42094 #B48A20 #20B440 #204AB4
square
#B42094 #B48A20 #20B440 #204AB4
split-complementary
#B42094 #4AB420 #20B48A
monochromatic
#4C0E3F #801769 #B42094 #DB36B8 #E46ACA

Accessibility & contrast

On white

5.87
#B42094 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42094
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42094#FFFFFF#000000##FFFFFF
##B420941.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#5E6D91
Tritanopia (blue-blind)
#BF285A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42094;
/* rgb */ color: rgb(180, 32, 148);
/* oklch */ color: oklch(53.3% 0.212 339.1);
Tailwind
colors: {
  custom: {
    50: '#cf6fb3',
    500: '#b42094',
    950: '#000000',
  },
}
SCSS
$custom: #b42094;
$custom-light: #cf6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42094",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 312.973,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.21219,
    "h": 339.1
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#B42094
secondary
#66CA7B
accent
#ED623B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B42094

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

Preview Lab → · Contrast checker → · Palette generator →

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