#B7318E#B7318E

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

Color values

HEX#B7318E
RGBrgb(183, 49, 142)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 72%)
CMYKcmyk(0%, 73.2%, 22.4%, 28.2%)
CIE-LABlab(44.55, 61.55, -21.24)
CIE-LCHlch(44.55, 65.11, 340.96°)
OKLaboklab(54.76% 0.1852 -0.0569)
OKLCHoklch(54.76% 0.194 342.9)
XYZxyz(25.5101, 14.2195, 26.9871)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7318E #31B75A
analogous
#9D31B7 #B7318E #B7314B
triadic
#B7318E #8EB731 #318EB7
tetradic
#B7318E #B79D31 #31B75A #314BB7
square
#B7318E #B79D31 #31B75A #314BB7
split-complementary
#B7318E #4BB731 #31B79D
monochromatic
#561743 #872469 #B7318E #D154AB #DE84C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7318E#FFFFFF#000000##FFFFFF
##B7318E1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B91
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#C3325B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7318e;
/* rgb */ color: rgb(183, 49, 142);
/* oklch */ color: oklch(54.8% 0.194 342.9);
Tailwind
colors: {
  custom: {
    50: '#d176af',
    500: '#b7318e',
    950: '#000000',
  },
}
SCSS
$custom: #b7318e;
$custom-light: #d176af;
$custom-dark: #000000;
JSON
{
  "hex": "#b7318e",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 318.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.19377,
    "h": 342.9
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7318E

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

Preview Lab → · Contrast checker → · Palette generator →

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