#B63198#B63198

#B63198 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.1% C 0.200 H 338.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B63198
RGBrgb(182, 49, 152)
HSLhsl(314, 58%, 45%)
HSVhsv(314, 73%, 71%)
CMYKcmyk(0%, 73.1%, 16.5%, 28.6%)
CIE-LABlab(44.82, 62.67, -26.87)
CIE-LCHlch(44.82, 68.19, 336.79°)
OKLaboklab(55.07% 0.1858 -0.0728)
OKLCHoklch(55.07% 0.2 338.6)
XYZxyz(26.0578, 14.4112, 31.1090)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B63198 #31B64F
analogous
#9231B6 #B63198 #B63155
triadic
#B63198 #98B631 #3198B6
tetradic
#B63198 #B69231 #31B64F #3155B6
square
#B63198 #B69231 #31B64F #3155B6
split-complementary
#B63198 #55B631 #31B692
monochromatic
#561747 #862470 #B63198 #D153B5 #DE84C9

Accessibility & contrast

On white

5.41
#B63198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B63198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B63198
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B63198#FFFFFF#000000##FFFFFF
##B631981.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#647195
Tritanopia (blue-blind)
#C03761
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b63198;
/* rgb */ color: rgb(182, 49, 152);
/* oklch */ color: oklch(55.1% 0.200 338.6);
Tailwind
colors: {
  custom: {
    50: '#d076b6',
    500: '#b63198',
    950: '#000000',
  },
}
SCSS
$custom: #b63198;
$custom-light: #d076b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b63198",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 313.534,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.19957,
    "h": 338.6
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#B63198
secondary
#7CC78D
accent
#E16A47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B63198

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

Preview Lab → · Contrast checker → · Palette generator →

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