#B1318C#B1318C

#B1318C is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.189 H 341.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B1318C
RGBrgb(177, 49, 140)
HSLhsl(317, 57%, 44%)
HSVhsv(317, 72%, 69%)
CMYKcmyk(0%, 72.3%, 20.9%, 30.6%)
CIE-LABlab(43.42, 59.76, -21.85)
CIE-LCHlch(43.42, 63.63, 339.91°)
OKLaboklab(53.72% 0.1792 -0.0587)
OKLCHoklch(53.72% 0.189 341.9)
XYZxyz(23.9642, 13.4396, 26.1379)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1318C #31B156
analogous
#9631B1 #B1318C #B1314C
triadic
#B1318C #8CB131 #318CB1
tetradic
#B1318C #B19631 #31B156 #314CB1
square
#B1318C #B19631 #31B156 #314CB1
split-complementary
#B1318C #4CB131 #31B196
monochromatic
#511640 #812466 #B1318C #CF51AA #DC80C2

Accessibility & contrast

On white

5.70
#B1318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1318C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1318C#FFFFFF#000000##FFFFFF
##B1318C1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#646E89
Tritanopia (blue-blind)
#BC335A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1318c;
/* rgb */ color: rgb(177, 49, 140);
/* oklch */ color: oklch(53.7% 0.189 341.9);
Tailwind
colors: {
  custom: {
    50: '#cc75ad',
    500: '#b1318c',
    950: '#000000',
  },
}
SCSS
$custom: #b1318c;
$custom-light: #cc75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b1318c",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 317.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.18855,
    "h": 341.9
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#B1318C
secondary
#79C58F
accent
#E07448
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1318C

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

Preview Lab → · Contrast checker → · Palette generator →

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