#BA3098#BA3098

#BA3098 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.203 H 339.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA3098
RGBrgb(186, 48, 152)
HSLhsl(315, 59%, 46%)
HSVhsv(315, 74%, 73%)
CMYKcmyk(0%, 74.2%, 18.3%, 27.1%)
CIE-LABlab(45.39, 63.97, -25.92)
CIE-LCHlch(45.39, 69.02, 337.94°)
OKLaboklab(55.61% 0.1906 -0.07)
OKLCHoklch(55.61% 0.203 339.8)
XYZxyz(26.9749, 14.8227, 31.1401)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3098 #30BA52
analogous
#9730BA #BA3098 #BA3053
triadic
#BA3098 #98BA30 #3098BA
tetradic
#BA3098 #BA9730 #30BA52 #3053BA
square
#BA3098 #BA9730 #30BA52 #3053BA
split-complementary
#BA3098 #53BA30 #30BA97
monochromatic
#591748 #892370 #BA3098 #D354B4 #DF85C9

Accessibility & contrast

On white

5.30
#BA3098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3098
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3098#FFFFFF#000000##FFFFFF
##BA30981.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#C53560
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3098;
/* rgb */ color: rgb(186, 48, 152);
/* oklch */ color: oklch(55.6% 0.203 339.8);
Tailwind
colors: {
  custom: {
    50: '#d376b6',
    500: '#ba3098',
    950: '#000000',
  },
}
SCSS
$custom: #ba3098;
$custom-light: #d376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3098",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 314.783,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.20311,
    "h": 339.8
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#BA3098
secondary
#7DC990
accent
#E26C46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA3098

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

Preview Lab → · Contrast checker → · Palette generator →

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