#B4318F#B4318F

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

Color values

HEX#B4318F
RGBrgb(180, 49, 143)
HSLhsl(317, 57%, 45%)
HSVhsv(317, 73%, 71%)
CMYKcmyk(0%, 72.8%, 20.6%, 29.4%)
CIE-LABlab(44.07, 60.93, -22.63)
CIE-LCHlch(44.07, 64.99, 339.63°)
OKLaboklab(54.33% 0.1826 -0.0608)
OKLCHoklch(54.33% 0.192 341.6)
XYZxyz(24.8794, 13.8856, 27.3512)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4318F #31B456
analogous
#9831B4 #B4318F #B4314D
triadic
#B4318F #8FB431 #318FB4
tetradic
#B4318F #B49831 #31B456 #314DB4
square
#B4318F #B49831 #31B456 #314DB4
split-complementary
#B4318F #4DB431 #31B498
monochromatic
#541743 #842469 #B4318F #D052AC #DD82C3

Accessibility & contrast

On white

5.56
#B4318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B4318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4318F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4318F#FFFFFF#000000##FFFFFF
##B4318F1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#65708C
Tritanopia (blue-blind)
#BF335C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4318f;
/* rgb */ color: rgb(180, 49, 143);
/* oklch */ color: oklch(54.3% 0.192 341.6);
Tailwind
colors: {
  custom: {
    50: '#ce75b0',
    500: '#b4318f',
    950: '#000000',
  },
}
SCSS
$custom: #b4318f;
$custom-light: #ce75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4318f",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 316.947,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.19243,
    "h": 341.6
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4318F

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

Preview Lab → · Contrast checker → · Palette generator →

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