#B7318F#B7318F

#B7318F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.8% C 0.194 H 342.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B7318F
RGBrgb(183, 49, 143)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 72%)
CMYKcmyk(0%, 73.2%, 21.9%, 28.2%)
CIE-LABlab(44.59, 61.68, -21.78)
CIE-LCHlch(44.59, 65.41, 340.55°)
OKLaboklab(54.81% 0.1854 -0.0584)
OKLCHoklch(54.81% 0.194 342.5)
XYZxyz(25.5856, 14.2497, 27.3843)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7318F #31B759
analogous
#9C31B7 #B7318F #B7314C
triadic
#B7318F #8FB731 #318FB7
tetradic
#B7318F #B79C31 #31B759 #314CB7
square
#B7318F #B79C31 #31B759 #314CB7
split-complementary
#B7318F #4CB731 #31B79C
monochromatic
#561744 #872469 #B7318F #D154AC #DE84C3

Accessibility & contrast

On white

5.46
#B7318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B7318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7318F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7318F#FFFFFF#000000##FFFFFF
##B7318F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B92
Deuteranopia (green-blind)
#68718C
Tritanopia (blue-blind)
#C3325C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7318f;
/* rgb */ color: rgb(183, 49, 143);
/* oklch */ color: oklch(54.8% 0.194 342.5);
Tailwind
colors: {
  custom: {
    50: '#d176b0',
    500: '#b7318f',
    950: '#000000',
  },
}
SCSS
$custom: #b7318f;
$custom-light: #d176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b7318f",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 317.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.1944,
    "h": 342.5
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#B7318F
secondary
#7CC893
accent
#E17547
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7318F

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

Preview Lab → · Contrast checker → · Palette generator →

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