#B4317E#B4317E

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

Color values

HEX#B4317E
RGBrgb(180, 49, 126)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 72.8%, 30%, 29.4%)
CIE-LABlab(43.37, 58.73, -13.32)
CIE-LCHlch(43.37, 60.23, 347.22°)
OKLaboklab(53.6% 0.1791 -0.0349)
OKLCHoklch(53.6% 0.182 349)
XYZxyz(23.6878, 13.4089, 21.0753)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4317E #31B467
analogous
#A931B4 #B4317E #B4313C
triadic
#B4317E #7EB431 #317EB4
tetradic
#B4317E #B4A931 #31B467 #313CB4
square
#B4317E #B4A931 #31B467 #313CB4
split-complementary
#B4317E #3CB431 #31B4A9
monochromatic
#54173B #84245C #B4317E #D0529C #DD82B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4317E#FFFFFF#000000##FFFFFF
##B4317E1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#C12A53
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4317e;
/* rgb */ color: rgb(180, 49, 126);
/* oklch */ color: oklch(53.6% 0.182 349.0);
Tailwind
colors: {
  custom: {
    50: '#cf75a3',
    500: '#b4317e',
    950: '#000000',
  },
}
SCSS
$custom: #b4317e;
$custom-light: #cf75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4317e",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 324.733,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.18244,
    "h": 349
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4317E

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

Preview Lab → · Contrast checker → · Palette generator →

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