#B8368A#B8368A

#B8368A is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.186 H 345.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B8368A
RGBrgb(184, 54, 138)
HSLhsl(321, 55%, 47%)
HSVhsv(321, 71%, 72%)
CMYKcmyk(0%, 70.7%, 25%, 27.8%)
CIE-LABlab(45.17, 59.54, -17.84)
CIE-LCHlch(45.17, 62.15, 343.32°)
OKLaboklab(55.2% 0.18 -0.0474)
OKLCHoklch(55.2% 0.186 345.3)
XYZxyz(25.6748, 14.6663, 25.5186)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8368A #36B864
analogous
#A536B8 #B8368A #B83649
triadic
#B8368A #8AB836 #368AB8
tetradic
#B8368A #B8A536 #36B864 #3649B8
square
#B8368A #B8A536 #36B864 #3649B8
split-complementary
#B8368A #49B836 #36B8A5
monochromatic
#591A43 #892867 #B8368A #CF5CA6 #DD8BC0

Accessibility & contrast

On white

5.34
#B8368A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B8368A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8368A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8368A#FFFFFF#000000##FFFFFF
##B8368A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#6C7387
Tritanopia (blue-blind)
#C4345B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8368a;
/* rgb */ color: rgb(184, 54, 138);
/* oklch */ color: oklch(55.2% 0.186 345.3);
Tailwind
colors: {
  custom: {
    50: '#d178ac',
    500: '#b8368a',
    950: '#000000',
  },
}
SCSS
$custom: #b8368a;
$custom-light: #d178ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b8368a",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 321.231,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.18616,
    "h": 345.3
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#B8368A
secondary
#82C79B
accent
#DE7E4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B8368A

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

Preview Lab → · Contrast checker → · Palette generator →

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