#B13172#B13172

#B13172 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 353.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B13172
RGBrgb(177, 49, 114)
HSLhsl(330, 57%, 44%)
HSVhsv(330, 72%, 69%)
CMYKcmyk(0%, 72.3%, 35.6%, 30.6%)
CIE-LABlab(42.40, 56.51, -7.44)
CIE-LCHlch(42.40, 57.00, 352.50°)
OKLaboklab(52.64% 0.1731 -0.019)
OKLCHoklch(52.64% 0.174 353.8)
XYZxyz(22.2684, 12.7613, 17.2068)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13172 #31B170
analogous
#B031B1 #B13172 #B13132
triadic
#B13172 #72B131 #3172B1
tetradic
#B13172 #B1B031 #31B170 #3132B1
square
#B13172 #B1B031 #31B170 #3132B1
split-complementary
#B13172 #32B131 #31B1B0
monochromatic
#511634 #812453 #B13172 #CF5191 #DC80AF

Accessibility & contrast

On white

5.91
#B13172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B13172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13172
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13172#FFFFFF#000000##FFFFFF
##B131721.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#6C6D6F
Tritanopia (blue-blind)
#BF264D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b13172;
/* rgb */ color: rgb(177, 49, 114);
/* oklch */ color: oklch(52.6% 0.174 353.8);
Tailwind
colors: {
  custom: {
    50: '#cd749a',
    500: '#b13172',
    950: '#000000',
  },
}
SCSS
$custom: #b13172;
$custom-light: #cd749a;
$custom-dark: #000000;
JSON
{
  "hex": "#b13172",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 329.531,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.17418,
    "h": 353.8
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#B13172
secondary
#79C59E
accent
#E09348
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B13172

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

Preview Lab → · Contrast checker → · Palette generator →

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