#B4318E#B4318E

#B4318E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.192 H 342.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B4318E
RGBrgb(180, 49, 142)
HSLhsl(317, 57%, 45%)
HSVhsv(317, 73%, 71%)
CMYKcmyk(0%, 72.8%, 21.1%, 29.4%)
CIE-LABlab(44.02, 60.79, -22.09)
CIE-LCHlch(44.02, 64.68, 340.03°)
OKLaboklab(54.28% 0.1824 -0.0593)
OKLCHoklch(54.28% 0.192 342)
XYZxyz(24.8040, 13.8554, 26.9540)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4318E #31B457
analogous
#9931B4 #B4318E #B4314C
triadic
#B4318E #8EB431 #318EB4
tetradic
#B4318E #B49931 #31B457 #314CB4
square
#B4318E #B49931 #31B457 #314CB4
split-complementary
#B4318E #4CB431 #31B499
monochromatic
#541742 #842468 #B4318E #D052AB #DD82C3

Accessibility & contrast

On white

5.57
#B4318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B4318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4318E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4318E#FFFFFF#000000##FFFFFF
##B4318E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A91
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#BF335B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4318e;
/* rgb */ color: rgb(180, 49, 142);
/* oklch */ color: oklch(54.3% 0.192 342.0);
Tailwind
colors: {
  custom: {
    50: '#ce75af',
    500: '#b4318e',
    950: '#000000',
  },
}
SCSS
$custom: #b4318e;
$custom-light: #ce75af;
$custom-dark: #000000;
JSON
{
  "hex": "#b4318e",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 317.405,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.1918,
    "h": 342
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#B4318E
secondary
#7BC690
accent
#E07447
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4318E

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

Preview Lab → · Contrast checker → · Palette generator →

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