#B7318D#B7318D

#B7318D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.193 H 343.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B7318D
RGBrgb(183, 49, 141)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 72%)
CMYKcmyk(0%, 73.2%, 23%, 28.2%)
CIE-LABlab(44.50, 61.42, -20.70)
CIE-LCHlch(44.50, 64.81, 341.37°)
OKLaboklab(54.72% 0.1851 -0.0554)
OKLCHoklch(54.72% 0.193 343.3)
XYZxyz(25.4354, 14.1896, 26.5935)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7318D #31B75B
analogous
#9E31B7 #B7318D #B7314A
triadic
#B7318D #8DB731 #318DB7
tetradic
#B7318D #B79E31 #31B75B #314AB7
square
#B7318D #B79E31 #31B75B #314AB7
split-complementary
#B7318D #4AB731 #31B79E
monochromatic
#561743 #872468 #B7318D #D154AA #DE84C2

Accessibility & contrast

On white

5.47
#B7318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B7318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7318D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7318D#FFFFFF#000000##FFFFFF
##B7318D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C3315B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7318d;
/* rgb */ color: rgb(183, 49, 141);
/* oklch */ color: oklch(54.7% 0.193 343.3);
Tailwind
colors: {
  custom: {
    50: '#d176ae',
    500: '#b7318d',
    950: '#000000',
  },
}
SCSS
$custom: #b7318d;
$custom-light: #d176ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b7318d",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 318.806,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.19316,
    "h": 343.3
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#B7318D
secondary
#7CC894
accent
#E17747
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7318D

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

Preview Lab → · Contrast checker → · Palette generator →

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