#B1315F#B1315F

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

Color values

HEX#B1315F
RGBrgb(177, 49, 95)
HSLhsl(338, 57%, 44%)
HSVhsv(338, 72%, 69%)
CMYKcmyk(0%, 72.3%, 46.3%, 30.6%)
CIE-LABlab(41.80, 54.54, 3.53)
CIE-LCHlch(41.80, 54.66, 3.70°)
OKLaboklab(52.01% 0.1669 0.0097)
OKLCHoklch(52.01% 0.167 3.3)
XYZxyz(21.2970, 12.3727, 12.0909)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1315F #31B183
analogous
#B1319F #B1315F #B14331
triadic
#B1315F #5FB131 #315FB1
tetradic
#B1315F #9FB131 #31B183 #4331B1
square
#B1315F #9FB131 #31B183 #4331B1
split-complementary
#B1315F #31B143 #319FB1
monochromatic
#51162C #812445 #B1315F #CF517E #DC80A1

Accessibility & contrast

On white

6.04
#B1315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1315F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1315F#FFFFFF#000000##FFFFFF
##B1315F1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C01B44
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b1315f;
/* rgb */ color: rgb(177, 49, 95);
/* oklch */ color: oklch(52.0% 0.167 3.3);
Tailwind
colors: {
  custom: {
    50: '#ce738c',
    500: '#b1315f',
    950: '#000000',
  },
}
SCSS
$custom: #b1315f;
$custom-light: #ce738c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1315f",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 338.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.16721,
    "h": 3.3
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1315F

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

Preview Lab → · Contrast checker → · Palette generator →

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