#B4315F#B4315F

#B4315F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.170 H 4.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B4315F
RGBrgb(180, 49, 95)
HSLhsl(339, 57%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 72.8%, 47.2%, 29.4%)
CIE-LABlab(42.35, 55.42, 4.39)
CIE-LCHlch(42.35, 55.60, 4.53°)
OKLaboklab(52.51% 0.1695 0.0118)
OKLCHoklch(52.51% 0.17 4)
XYZxyz(21.9880, 12.7290, 12.1233)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4315F #31B486
analogous
#B431A1 #B4315F #B44431
triadic
#B4315F #5FB431 #315FB4
tetradic
#B4315F #A1B431 #31B486 #4431B4
square
#B4315F #A1B431 #31B486 #4431B4
split-complementary
#B4315F #31B444 #31A1B4
monochromatic
#54172C #842446 #B4315F #D0527E #DD82A2

Accessibility & contrast

On white

5.92
#B4315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B4315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4315F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4315F#FFFFFF#000000##FFFFFF
##B4315F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5460
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C41944
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4315f;
/* rgb */ color: rgb(180, 49, 95);
/* oklch */ color: oklch(52.5% 0.170 4.0);
Tailwind
colors: {
  custom: {
    50: '#d0748c',
    500: '#b4315f',
    950: '#000000',
  },
}
SCSS
$custom: #b4315f;
$custom-light: #d0748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4315f",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 338.931,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.16995,
    "h": 4
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#B4315F
secondary
#7BC6AC
accent
#E0AB47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B4315F

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

Preview Lab → · Contrast checker → · Palette generator →

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