#B7338C#B7338C

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

Color values

HEX#B7338C
RGBrgb(183, 51, 140)
HSLhsl(320, 56%, 46%)
HSVhsv(320, 72%, 72%)
CMYKcmyk(0%, 72.1%, 23.5%, 28.2%)
CIE-LABlab(44.70, 60.60, -19.79)
CIE-LCHlch(44.70, 63.75, 341.92°)
OKLaboklab(54.85% 0.1828 -0.0528)
OKLCHoklch(54.85% 0.19 343.9)
XYZxyz(25.4468, 14.3310, 26.2319)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7338C #33B75E
analogous
#A033B7 #B7338C #B7334A
triadic
#B7338C #8CB733 #338CB7
tetradic
#B7338C #B7A033 #33B75E #334AB7
square
#B7338C #B7A033 #33B75E #334AB7
split-complementary
#B7338C #4AB733 #33B7A0
monochromatic
#571843 #872667 #B7338C #D057A9 #DE87C1

Accessibility & contrast

On white

5.43
#B7338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B7338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7338C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7338C#FFFFFF#000000##FFFFFF
##B7338C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8E
Deuteranopia (green-blind)
#697289
Tritanopia (blue-blind)
#C3325B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b7338c;
/* rgb */ color: rgb(183, 51, 140);
/* oklch */ color: oklch(54.8% 0.190 343.9);
Tailwind
colors: {
  custom: {
    50: '#d176ad',
    500: '#b7338c',
    950: '#000000',
  },
}
SCSS
$custom: #b7338c;
$custom-light: #d176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b7338c",
  "rgb": {
    "r": 183,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 319.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.19025,
    "h": 343.9
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#B7338C
secondary
#7FC796
accent
#E07948
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B7338C

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

Preview Lab → · Contrast checker → · Palette generator →

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