#B4315E#B4315E

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

Color values

HEX#B4315E
RGBrgb(180, 49, 94)
HSLhsl(339, 57%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 72.8%, 47.8%, 29.4%)
CIE-LABlab(42.32, 55.33, 4.98)
CIE-LCHlch(42.32, 55.55, 5.14°)
OKLaboklab(52.48% 0.1692 0.0133)
OKLCHoklch(52.48% 0.17 4.5)
XYZxyz(21.9429, 12.7110, 11.8855)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4315E #31B487
analogous
#B431A0 #B4315E #B44531
triadic
#B4315E #5EB431 #315EB4
tetradic
#B4315E #A0B431 #31B487 #4531B4
square
#B4315E #A0B431 #31B487 #4531B4
split-complementary
#B4315E #31B445 #31A0B4
monochromatic
#54172C #842445 #B4315E #D0527D #DD82A2

Accessibility & contrast

On white

5.93
#B4315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B4315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4315E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4315E#FFFFFF#000000##FFFFFF
##B4315E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#C41844
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4315e;
/* rgb */ color: rgb(180, 49, 94);
/* oklch */ color: oklch(52.5% 0.170 4.5);
Tailwind
colors: {
  custom: {
    50: '#d0748b',
    500: '#b4315e',
    950: '#000000',
  },
}
SCSS
$custom: #b4315e;
$custom-light: #d0748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4315e",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 339.389,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.1697,
    "h": 4.5
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4315E

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

Preview Lab → · Contrast checker → · Palette generator →

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