#B1315E#B1315E

#B1315E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.167 H 3.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B1315E
RGBrgb(177, 49, 94)
HSLhsl(339, 57%, 44%)
HSVhsv(339, 72%, 69%)
CMYKcmyk(0%, 72.3%, 46.9%, 30.6%)
CIE-LABlab(41.77, 54.45, 4.11)
CIE-LCHlch(41.77, 54.60, 4.32°)
OKLaboklab(51.98% 0.1666 0.0111)
OKLCHoklch(51.98% 0.167 3.8)
XYZxyz(21.2519, 12.3547, 11.8531)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1315E #31B184
analogous
#B1319E #B1315E #B14431
triadic
#B1315E #5EB131 #315EB1
tetradic
#B1315E #9EB131 #31B184 #4431B1
square
#B1315E #9EB131 #31B184 #4431B1
split-complementary
#B1315E #31B144 #319EB1
monochromatic
#51162B #812445 #B1315E #CF517D #DC80A1

Accessibility & contrast

On white

6.05
#B1315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B1315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1315E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1315E#FFFFFF#000000##FFFFFF
##B1315E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E535F
Deuteranopia (green-blind)
#706C5B
Tritanopia (blue-blind)
#C01A44
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b1315e;
/* rgb */ color: rgb(177, 49, 94);
/* oklch */ color: oklch(52.0% 0.167 3.8);
Tailwind
colors: {
  custom: {
    50: '#ce738b',
    500: '#b1315e',
    950: '#000000',
  },
}
SCSS
$custom: #b1315e;
$custom-light: #ce738b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1315e",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 338.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.16694,
    "h": 3.8
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#B1315E
secondary
#79C5AA
accent
#E0AA48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B1315E

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

Preview Lab → · Contrast checker → · Palette generator →

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