#B7318A#B7318A

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

Color values

HEX#B7318A
RGBrgb(183, 49, 138)
HSLhsl(320, 58%, 45%)
HSVhsv(320, 73%, 72%)
CMYKcmyk(0%, 73.2%, 24.6%, 28.2%)
CIE-LABlab(44.38, 61.02, -19.07)
CIE-LCHlch(44.38, 63.94, 342.64°)
OKLaboklab(54.58% 0.1845 -0.0508)
OKLCHoklch(54.58% 0.191 344.6)
XYZxyz(25.2152, 14.1016, 25.4338)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7318A #31B75E
analogous
#A131B7 #B7318A #B73147
triadic
#B7318A #8AB731 #318AB7
tetradic
#B7318A #B7A131 #31B75E #3147B7
square
#B7318A #B7A131 #31B75E #3147B7
split-complementary
#B7318A #47B731 #31B7A1
monochromatic
#561741 #872466 #B7318A #D154A7 #DE84C0

Accessibility & contrast

On white

5.50
#B7318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B7318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7318A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7318A#FFFFFF#000000##FFFFFF
##B7318A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#C32F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7318a;
/* rgb */ color: rgb(183, 49, 138);
/* oklch */ color: oklch(54.6% 0.191 344.6);
Tailwind
colors: {
  custom: {
    50: '#d175ac',
    500: '#b7318a',
    950: '#000000',
  },
}
SCSS
$custom: #b7318a;
$custom-light: #d175ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b7318a",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 320.149,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.19136,
    "h": 344.6
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#B7318A
secondary
#7CC896
accent
#E17B47
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7318A

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

Preview Lab → · Contrast checker → · Palette generator →

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