#B8318E#B8318E

#B8318E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.194 H 343.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B8318E
RGBrgb(184, 49, 142)
HSLhsl(319, 58%, 46%)
HSVhsv(319, 73%, 72%)
CMYKcmyk(0%, 73.4%, 22.8%, 27.8%)
CIE-LABlab(44.72, 61.80, -20.96)
CIE-LCHlch(44.72, 65.26, 341.27°)
OKLaboklab(54.92% 0.1862 -0.0561)
OKLCHoklch(54.92% 0.194 343.2)
XYZxyz(25.7489, 14.3426, 26.9983)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8318E #31B85B
analogous
#9E31B8 #B8318E #B8314A
triadic
#B8318E #8EB831 #318EB8
tetradic
#B8318E #B89E31 #31B85B #314AB8
square
#B8318E #B89E31 #31B85B #314AB8
split-complementary
#B8318E #4AB831 #31B89E
monochromatic
#571743 #882469 #B8318E #D255AB #DE85C3

Accessibility & contrast

On white

5.43
#B8318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B8318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8318E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8318E#FFFFFF#000000##FFFFFF
##B8318E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#C4315B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8318e;
/* rgb */ color: rgb(184, 49, 142);
/* oklch */ color: oklch(54.9% 0.194 343.2);
Tailwind
colors: {
  custom: {
    50: '#d176af',
    500: '#b8318e',
    950: '#000000',
  },
}
SCSS
$custom: #b8318e;
$custom-light: #d176af;
$custom-dark: #000000;
JSON
{
  "hex": "#b8318e",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 318.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.19444,
    "h": 343.2
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8318E

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

Preview Lab → · Contrast checker → · Palette generator →

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