#B0338A#B0338A

#B0338A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.184 H 342.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B0338A
RGBrgb(176, 51, 138)
HSLhsl(318, 55%, 45%)
HSVhsv(318, 71%, 69%)
CMYKcmyk(0%, 71%, 21.6%, 31%)
CIE-LABlab(43.41, 58.52, -20.66)
CIE-LCHlch(43.41, 62.06, 340.55°)
OKLaboklab(53.65% 0.1757 -0.0554)
OKLCHoklch(53.65% 0.184 342.5)
XYZxyz(23.6765, 13.4351, 25.3861)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0338A #33B059
analogous
#9833B0 #B0338A #B0334C
triadic
#B0338A #8AB033 #338AB0
tetradic
#B0338A #B09833 #33B059 #334CB0
square
#B0338A #B09833 #33B059 #334CB0
split-complementary
#B0338A #4CB033 #33B098
monochromatic
#511840 #812565 #B0338A #CD53A8 #DB82C0

Accessibility & contrast

On white

5.70
#B0338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B0338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0338A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0338A#FFFFFF#000000##FFFFFF
##B0338A1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BB345A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b0338a;
/* rgb */ color: rgb(176, 51, 138);
/* oklch */ color: oklch(53.7% 0.184 342.5);
Tailwind
colors: {
  custom: {
    50: '#cb75ac',
    500: '#b0338a',
    950: '#000000',
  },
}
SCSS
$custom: #b0338a;
$custom-light: #cb75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0338a",
  "rgb": {
    "r": 176,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 318.24,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.18422,
    "h": 342.5
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#B0338A
secondary
#7BC491
accent
#DE7749
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0338A

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

Preview Lab → · Contrast checker → · Palette generator →

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