#B4317D#B4317D

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

Color values

HEX#B4317D
RGBrgb(180, 49, 125)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 72.8%, 30.6%, 29.4%)
CIE-LABlab(43.34, 58.61, -12.77)
CIE-LCHlch(43.34, 59.99, 347.71°)
OKLaboklab(53.56% 0.1788 -0.0334)
OKLCHoklch(53.56% 0.182 349.4)
XYZxyz(23.6236, 13.3833, 20.7372)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4317D #31B468
analogous
#AA31B4 #B4317D #B4313B
triadic
#B4317D #7DB431 #317DB4
tetradic
#B4317D #B4AA31 #31B468 #313BB4
square
#B4317D #B4AA31 #31B468 #313BB4
split-complementary
#B4317D #3BB431 #31B4AA
monochromatic
#54173A #84245C #B4317D #D0529B #DD82B7

Accessibility & contrast

On white

5.71
#B4317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B4317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4317D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4317D#FFFFFF#000000##FFFFFF
##B4317D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45587F
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#C12A53
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4317d;
/* rgb */ color: rgb(180, 49, 125);
/* oklch */ color: oklch(53.6% 0.182 349.4);
Tailwind
colors: {
  custom: {
    50: '#cf75a2',
    500: '#b4317d',
    950: '#000000',
  },
}
SCSS
$custom: #b4317d;
$custom-light: #cf75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4317d",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 325.191,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.18192,
    "h": 349.4
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#B4317D
secondary
#7BC69A
accent
#E08847
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4317D

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

Preview Lab → · Contrast checker → · Palette generator →

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