#B7338A#B7338A

#B7338A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.189 H 344.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B7338A
RGBrgb(183, 51, 138)
HSLhsl(320, 56%, 46%)
HSVhsv(320, 72%, 72%)
CMYKcmyk(0%, 72.1%, 24.6%, 28.2%)
CIE-LABlab(44.62, 60.34, -18.70)
CIE-LCHlch(44.62, 63.17, 342.78°)
OKLaboklab(54.76% 0.1824 -0.0498)
OKLCHoklch(54.76% 0.189 344.7)
XYZxyz(25.3007, 14.2726, 25.4623)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7338A #33B760
analogous
#A233B7 #B7338A #B73348
triadic
#B7338A #8AB733 #338AB7
tetradic
#B7338A #B7A233 #33B760 #3348B7
square
#B7338A #B7A233 #33B760 #3348B7
split-complementary
#B7338A #48B733 #33B7A2
monochromatic
#571842 #872666 #B7338A #D057A7 #DE87C0

Accessibility & contrast

On white

5.45
#B7338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B7338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7338A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7338A#FFFFFF#000000##FFFFFF
##B7338A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#6A7287
Tritanopia (blue-blind)
#C3315A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b7338a;
/* rgb */ color: rgb(183, 51, 138);
/* oklch */ color: oklch(54.8% 0.189 344.7);
Tailwind
colors: {
  custom: {
    50: '#d176ac',
    500: '#b7338a',
    950: '#000000',
  },
}
SCSS
$custom: #b7338a;
$custom-light: #d176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b7338a",
  "rgb": {
    "r": 183,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 320.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.18905,
    "h": 344.7
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#B7338A
secondary
#7FC797
accent
#E07C48
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7338A

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

Preview Lab → · Contrast checker → · Palette generator →

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