#B4317F#B4317F

#B4317F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.183 H 348.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B4317F
RGBrgb(180, 49, 127)
HSLhsl(324, 57%, 45%)
HSVhsv(324, 73%, 71%)
CMYKcmyk(0%, 72.8%, 29.4%, 29.4%)
CIE-LABlab(43.41, 58.86, -13.88)
CIE-LCHlch(43.41, 60.47, 346.73°)
OKLaboklab(53.64% 0.1793 -0.0364)
OKLCHoklch(53.64% 0.183 348.5)
XYZxyz(23.7526, 13.4349, 21.4169)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4317F #31B466
analogous
#A831B4 #B4317F #B4313D
triadic
#B4317F #7FB431 #317FB4
tetradic
#B4317F #B4A831 #31B466 #313DB4
square
#B4317F #B4A831 #31B466 #313DB4
split-complementary
#B4317F #3DB431 #31B4A8
monochromatic
#54173B #84245D #B4317F #D0529D #DD82B8

Accessibility & contrast

On white

5.70
#B4317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B4317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4317F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4317F#FFFFFF#000000##FFFFFF
##B4317F1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#C12B54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4317f;
/* rgb */ color: rgb(180, 49, 127);
/* oklch */ color: oklch(53.6% 0.183 348.5);
Tailwind
colors: {
  custom: {
    50: '#cf75a4',
    500: '#b4317f',
    950: '#000000',
  },
}
SCSS
$custom: #b4317f;
$custom-light: #cf75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4317f",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 324.275,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.18299,
    "h": 348.5
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#B4317F
secondary
#7BC699
accent
#E08547
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4317F

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

Preview Lab → · Contrast checker → · Palette generator →

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