#B1315C#B1315C

#B1315C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.166 H 4.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B1315C
RGBrgb(177, 49, 92)
HSLhsl(340, 57%, 44%)
HSVhsv(340, 72%, 69%)
CMYKcmyk(0%, 72.3%, 48%, 30.6%)
CIE-LABlab(41.72, 54.26, 5.29)
CIE-LCHlch(41.72, 54.52, 5.57°)
OKLaboklab(51.92% 0.1658 0.0141)
OKLCHoklch(51.92% 0.166 4.8)
XYZxyz(21.1633, 12.3192, 11.3866)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1315C #31B186
analogous
#B1319C #B1315C #B14631
triadic
#B1315C #5CB131 #315CB1
tetradic
#B1315C #9CB131 #31B186 #4631B1
square
#B1315C #9CB131 #31B186 #4631B1
split-complementary
#B1315C #31B146 #319CB1
monochromatic
#51162A #812443 #B1315C #CF517B #DC809F

Accessibility & contrast

On white

6.06
#B1315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B1315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1315C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1315C#FFFFFF#000000##FFFFFF
##B1315C1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525D
Deuteranopia (green-blind)
#706C59
Tritanopia (blue-blind)
#C11943
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b1315c;
/* rgb */ color: rgb(177, 49, 92);
/* oklch */ color: oklch(51.9% 0.166 4.8);
Tailwind
colors: {
  custom: {
    50: '#ce7389',
    500: '#b1315c',
    950: '#000000',
  },
}
SCSS
$custom: #b1315c;
$custom-light: #ce7389;
$custom-dark: #000000;
JSON
{
  "hex": "#b1315c",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 339.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.16644,
    "h": 4.8
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#B1315C
secondary
#79C5AB
accent
#E0AD48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B1315C

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

Preview Lab → · Contrast checker → · Palette generator →

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