#B13A8D#B13A8D

#B13A8D is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.178 H 342.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B13A8D
RGBrgb(177, 58, 141)
HSLhsl(318, 51%, 46%)
HSVhsv(318, 67%, 69%)
CMYKcmyk(0%, 67.2%, 20.3%, 30.6%)
CIE-LABlab(44.66, 56.55, -20.55)
CIE-LCHlch(44.66, 60.17, 340.03°)
OKLaboklab(54.63% 0.1692 -0.0551)
OKLCHoklch(54.63% 0.178 342)
XYZxyz(24.4530, 14.2986, 26.6662)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13A8D #3AB15E
analogous
#993AB1 #B13A8D #B13A51
triadic
#B13A8D #8DB13A #3A8DB1
tetradic
#B13A8D #B1993A #3AB15E #3A51B1
square
#B13A8D #B1993A #3AB15E #3A51B1
split-complementary
#B13A8D #51B13A #3AB199
monochromatic
#551C44 #832B68 #B13A8D #CA5EA9 #D98CC2

Accessibility & contrast

On white

5.44
#B13A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B13A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13A8D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13A8D#FFFFFF#000000##FFFFFF
##B13A8D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#BC3B5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b13a8d;
/* rgb */ color: rgb(177, 58, 141);
/* oklch */ color: oklch(54.6% 0.178 342.0);
Tailwind
colors: {
  custom: {
    50: '#cc79ae',
    500: '#b13a8d',
    950: '#000000',
  },
}
SCSS
$custom: #b13a8d;
$custom-light: #cc79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b13a8d",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 318.151,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.17791,
    "h": 342
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#B13A8D
secondary
#83C497
accent
#DA784E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B13A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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