#B1318D#B1318D

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

Color values

HEX#B1318D
RGBrgb(177, 49, 141)
HSLhsl(317, 57%, 44%)
HSVhsv(317, 72%, 69%)
CMYKcmyk(0%, 72.3%, 20.3%, 30.6%)
CIE-LABlab(43.46, 59.90, -22.39)
CIE-LCHlch(43.46, 63.95, 339.50°)
OKLaboklab(53.76% 0.1794 -0.0602)
OKLCHoklch(53.76% 0.189 341.4)
XYZxyz(24.0382, 13.4692, 26.5280)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1318D #31B155
analogous
#9531B1 #B1318D #B1314D
triadic
#B1318D #8DB131 #318DB1
tetradic
#B1318D #B19531 #31B155 #314DB1
square
#B1318D #B19531 #31B155 #314DB1
split-complementary
#B1318D #4DB131 #31B195
monochromatic
#511641 #812467 #B1318D #CF51AB #DC80C2

Accessibility & contrast

On white

5.69
#B1318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B1318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1318D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1318D#FFFFFF#000000##FFFFFF
##B1318D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5990
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#BC335B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1318d;
/* rgb */ color: rgb(177, 49, 141);
/* oklch */ color: oklch(53.8% 0.189 341.4);
Tailwind
colors: {
  custom: {
    50: '#cc75ae',
    500: '#b1318d',
    950: '#000000',
  },
}
SCSS
$custom: #b1318d;
$custom-light: #cc75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b1318d",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 316.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.18919,
    "h": 341.4
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1318D

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

Preview Lab → · Contrast checker → · Palette generator →

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