#B13899#B13899

#B13899 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.189 H 336.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B13899
RGBrgb(177, 56, 153)
HSLhsl(312, 52%, 46%)
HSVhsv(312, 68%, 69%)
CMYKcmyk(0%, 68.4%, 13.6%, 30.6%)
CIE-LABlab(44.91, 59.07, -27.39)
CIE-LCHlch(44.91, 65.11, 335.13°)
OKLaboklab(54.99% 0.1735 -0.0744)
OKLCHoklch(54.99% 0.189 336.8)
XYZxyz(25.2958, 14.4776, 31.5930)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13899 #38B150
analogous
#8C38B1 #B13899 #B1385C
triadic
#B13899 #99B138 #3899B1
tetradic
#B13899 #B18C38 #38B150 #385CB1
square
#B13899 #B18C38 #38B150 #385CB1
split-complementary
#B13899 #5CB138 #38B18C
monochromatic
#541B49 #832971 #B13899 #CB5BB5 #DA8ACA

Accessibility & contrast

On white

5.39
#B13899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B13899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13899
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13899#FFFFFF#000000##FFFFFF
##B138991.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#627196
Tritanopia (blue-blind)
#BA3F64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b13899;
/* rgb */ color: rgb(177, 56, 153);
/* oklch */ color: oklch(55.0% 0.189 336.8);
Tailwind
colors: {
  custom: {
    50: '#cc78b7',
    500: '#b13899',
    950: '#000000',
  },
}
SCSS
$custom: #b13899;
$custom-light: #cc78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b13899",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 311.901,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.18877,
    "h": 336.8
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#B13899
secondary
#81C48E
accent
#DB694C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B13899

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

Preview Lab → · Contrast checker → · Palette generator →

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