#B93198#B93198

#B93198 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.5% C 0.201 H 339.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B93198
RGBrgb(185, 49, 152)
HSLhsl(315, 58%, 46%)
HSVhsv(315, 74%, 73%)
CMYKcmyk(0%, 73.5%, 17.8%, 27.5%)
CIE-LABlab(45.33, 63.40, -26.03)
CIE-LCHlch(45.33, 68.54, 337.68°)
OKLaboklab(55.54% 0.1887 -0.0704)
OKLCHoklch(55.54% 0.201 339.6)
XYZxyz(26.7741, 14.7805, 31.1425)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93198 #31B952
analogous
#9631B9 #B93198 #B93154
triadic
#B93198 #98B931 #3198B9
tetradic
#B93198 #B99631 #31B952 #3154B9
square
#B93198 #B99631 #31B952 #3154B9
split-complementary
#B93198 #54B931 #31B996
monochromatic
#581748 #892470 #B93198 #D255B4 #DF86C9

Accessibility & contrast

On white

5.31
#B93198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B93198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B93198
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93198#FFFFFF#000000##FFFFFF
##B931981.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9B
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#C43661
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b93198;
/* rgb */ color: rgb(185, 49, 152);
/* oklch */ color: oklch(55.5% 0.201 339.6);
Tailwind
colors: {
  custom: {
    50: '#d276b6',
    500: '#b93198',
    950: '#000000',
  },
}
SCSS
$custom: #b93198;
$custom-light: #d276b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b93198",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 314.559,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.20141,
    "h": 339.6
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#B93198
secondary
#7DC890
accent
#E16C46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B93198

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

Preview Lab → · Contrast checker → · Palette generator →

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