#B13F8D#B13F8D

#B13F8D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.171 H 342.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B13F8D
RGBrgb(177, 63, 141)
HSLhsl(319, 48%, 47%)
HSVhsv(319, 64%, 69%)
CMYKcmyk(0%, 64.4%, 20.3%, 30.6%)
CIE-LABlab(45.40, 54.51, -19.41)
CIE-LCHlch(45.40, 57.86, 340.40°)
OKLaboklab(55.18% 0.163 -0.0519)
OKLCHoklch(55.18% 0.171 342.3)
XYZxyz(24.7174, 14.8275, 26.7544)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13F8D #3FB163
analogous
#9C3FB1 #B13F8D #B13F54
triadic
#B13F8D #8DB13F #3F8DB1
tetradic
#B13F8D #B19C3F #3FB163 #3F54B1
square
#B13F8D #B19C3F #3FB163 #3F54B1
split-complementary
#B13F8D #54B13F #3FB19C
monochromatic
#571F45 #842F69 #B13F8D #C865A9 #D892C2

Accessibility & contrast

On white

5.30
#B13F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B13F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13F8D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13F8D#FFFFFF#000000##FFFFFF
##B13F8D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#BC4060
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b13f8d;
/* rgb */ color: rgb(177, 63, 141);
/* oklch */ color: oklch(55.2% 0.171 342.3);
Tailwind
colors: {
  custom: {
    50: '#cc7cae',
    500: '#b13f8d',
    950: '#000000',
  },
}
SCSS
$custom: #b13f8d;
$custom-light: #cc7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#b13f8d",
  "rgb": {
    "r": 177,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 318.947,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.17106,
    "h": 342.3
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#B13F8D
secondary
#88C49B
accent
#D77B51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B13F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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