#B8368C#B8368C

#B8368C is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.187 H 344.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B8368C
RGBrgb(184, 54, 140)
HSLhsl(320, 55%, 47%)
HSVhsv(320, 71%, 72%)
CMYKcmyk(0%, 70.7%, 23.9%, 27.8%)
CIE-LABlab(45.25, 59.80, -18.92)
CIE-LCHlch(45.25, 62.72, 342.44°)
OKLaboklab(55.28% 0.1805 -0.0504)
OKLCHoklch(55.28% 0.187 344.4)
XYZxyz(25.8209, 14.7248, 26.2882)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8368C #36B862
analogous
#A336B8 #B8368C #B8364B
triadic
#B8368C #8CB836 #368CB8
tetradic
#B8368C #B8A336 #36B862 #364BB8
square
#B8368C #B8A336 #36B862 #364BB8
split-complementary
#B8368C #4BB836 #36B8A3
monochromatic
#591A44 #892868 #B8368C #CF5CA8 #DD8BC1

Accessibility & contrast

On white

5.32
#B8368C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B8368C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8368C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8368C#FFFFFF#000000##FFFFFF
##B8368C1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8E
Deuteranopia (green-blind)
#6B7389
Tritanopia (blue-blind)
#C4355C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8368c;
/* rgb */ color: rgb(184, 54, 140);
/* oklch */ color: oklch(55.3% 0.187 344.4);
Tailwind
colors: {
  custom: {
    50: '#d178ad',
    500: '#b8368c',
    950: '#000000',
  },
}
SCSS
$custom: #b8368c;
$custom-light: #d178ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b8368c",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 320.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.18736,
    "h": 344.4
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#B8368C
secondary
#82C79A
accent
#DE7C4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B8368C

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

Preview Lab → · Contrast checker → · Palette generator →

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