#B8338D#B8338D

#B8338D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.192 H 343.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B8338D
RGBrgb(184, 51, 141)
HSLhsl(319, 57%, 46%)
HSVhsv(319, 72%, 72%)
CMYKcmyk(0%, 72.3%, 23.4%, 27.8%)
CIE-LABlab(44.92, 60.99, -20.05)
CIE-LCHlch(44.92, 64.20, 341.81°)
OKLaboklab(55.05% 0.1839 -0.0535)
OKLCHoklch(55.05% 0.192 343.8)
XYZxyz(25.7597, 14.4838, 26.6332)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8338D #33B85E
analogous
#A033B8 #B8338D #B8334B
triadic
#B8338D #8DB833 #338DB8
tetradic
#B8338D #B8A033 #33B85E #334BB8
square
#B8338D #B8A033 #33B85E #334BB8
split-complementary
#B8338D #4BB833 #33B8A0
monochromatic
#581844 #882668 #B8338D #D158A9 #DE88C2

Accessibility & contrast

On white

5.39
#B8338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B8338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8338D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8338D#FFFFFF#000000##FFFFFF
##B8338D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#C4335C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8338d;
/* rgb */ color: rgb(184, 51, 141);
/* oklch */ color: oklch(55.1% 0.192 343.8);
Tailwind
colors: {
  custom: {
    50: '#d177ae',
    500: '#b8338d',
    950: '#000000',
  },
}
SCSS
$custom: #b8338d;
$custom-light: #d177ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b8338d",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 319.398,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.19154,
    "h": 343.8
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#B8338D
secondary
#7FC897
accent
#E07948
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B8338D

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

Preview Lab → · Contrast checker → · Palette generator →

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