#B7318B#B7318B

#B7318B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.192 H 344.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B7318B
RGBrgb(183, 49, 139)
HSLhsl(320, 58%, 45%)
HSVhsv(320, 73%, 72%)
CMYKcmyk(0%, 73.2%, 24%, 28.2%)
CIE-LABlab(44.42, 61.15, -19.62)
CIE-LCHlch(44.42, 64.22, 342.22°)
OKLaboklab(54.63% 0.1847 -0.0523)
OKLCHoklch(54.63% 0.192 344.2)
XYZxyz(25.2879, 14.1306, 25.8168)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7318B #31B75D
analogous
#A031B7 #B7318B #B73148
triadic
#B7318B #8BB731 #318BB7
tetradic
#B7318B #B7A031 #31B75D #3148B7
square
#B7318B #B7A031 #31B75D #3148B7
split-complementary
#B7318B #48B731 #31B7A0
monochromatic
#561742 #872466 #B7318B #D154A8 #DE84C1

Accessibility & contrast

On white

5.49
#B7318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B7318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7318B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7318B#FFFFFF#000000##FFFFFF
##B7318B1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#C3305A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7318b;
/* rgb */ color: rgb(183, 49, 139);
/* oklch */ color: oklch(54.6% 0.192 344.2);
Tailwind
colors: {
  custom: {
    50: '#d176ad',
    500: '#b7318b',
    950: '#000000',
  },
}
SCSS
$custom: #b7318b;
$custom-light: #d176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b7318b",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 319.701,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.19195,
    "h": 344.2
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#B7318B
secondary
#7CC895
accent
#E17947
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7318B

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

Preview Lab → · Contrast checker → · Palette generator →

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