#B7338B#B7338B

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

Color values

HEX#B7338B
RGBrgb(183, 51, 139)
HSLhsl(320, 56%, 46%)
HSVhsv(320, 72%, 72%)
CMYKcmyk(0%, 72.1%, 24%, 28.2%)
CIE-LABlab(44.66, 60.47, -19.24)
CIE-LCHlch(44.66, 63.46, 342.35°)
OKLaboklab(54.8% 0.1826 -0.0513)
OKLCHoklch(54.8% 0.19 344.3)
XYZxyz(25.3734, 14.3017, 25.8453)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7338B #33B75F
analogous
#A133B7 #B7338B #B73349
triadic
#B7338B #8BB733 #338BB7
tetradic
#B7338B #B7A133 #33B75F #3349B7
square
#B7338B #B7A133 #33B75F #3349B7
split-complementary
#B7338B #49B733 #33B7A1
monochromatic
#571842 #872667 #B7338B #D057A8 #DE87C1

Accessibility & contrast

On white

5.44
#B7338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B7338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7338B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7338B#FFFFFF#000000##FFFFFF
##B7338B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8D
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#C3325B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b7338b;
/* rgb */ color: rgb(183, 51, 139);
/* oklch */ color: oklch(54.8% 0.190 344.3);
Tailwind
colors: {
  custom: {
    50: '#d176ad',
    500: '#b7338b',
    950: '#000000',
  },
}
SCSS
$custom: #b7338b;
$custom-light: #d176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b7338b",
  "rgb": {
    "r": 183,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 320,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.18965,
    "h": 344.3
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7338B

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

Preview Lab → · Contrast checker → · Palette generator →

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