#B1318E#B1318E

#B1318E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.190 H 341.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B1318E
RGBrgb(177, 49, 142)
HSLhsl(316, 57%, 44%)
HSVhsv(316, 72%, 69%)
CMYKcmyk(0%, 72.3%, 19.8%, 30.6%)
CIE-LABlab(43.51, 60.03, -22.93)
CIE-LCHlch(43.51, 64.27, 339.09°)
OKLaboklab(53.81% 0.1795 -0.0617)
OKLCHoklch(53.81% 0.19 341)
XYZxyz(24.1130, 13.4991, 26.9216)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1318E #31B154
analogous
#9431B1 #B1318E #B1314E
triadic
#B1318E #8EB131 #318EB1
tetradic
#B1318E #B19431 #31B154 #314EB1
square
#B1318E #B19431 #31B154 #314EB1
split-complementary
#B1318E #4EB131 #31B194
monochromatic
#511641 #812468 #B1318E #CF51AC #DC80C3

Accessibility & contrast

On white

5.68
#B1318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B1318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1318E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1318E#FFFFFF#000000##FFFFFF
##B1318E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#BC345B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1318e;
/* rgb */ color: rgb(177, 49, 142);
/* oklch */ color: oklch(53.8% 0.190 341.0);
Tailwind
colors: {
  custom: {
    50: '#cc75af',
    500: '#b1318e',
    950: '#000000',
  },
}
SCSS
$custom: #b1318e;
$custom-light: #cc75af;
$custom-dark: #000000;
JSON
{
  "hex": "#b1318e",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 316.406,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.18983,
    "h": 341
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#B1318E
secondary
#79C58E
accent
#E07148
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1318E

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

Preview Lab → · Contrast checker → · Palette generator →

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