#BA3183#BA3183

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

Color values

HEX#BA3183
RGBrgb(186, 49, 131)
HSLhsl(324, 58%, 46%)
HSVhsv(324, 74%, 73%)
CMYKcmyk(0%, 73.7%, 29.6%, 27.1%)
CIE-LABlab(44.63, 60.93, -14.38)
CIE-LCHlch(44.63, 62.60, 346.72°)
OKLaboklab(54.77% 0.1857 -0.0378)
OKLCHoklch(54.77% 0.19 348.5)
XYZxyz(25.4460, 14.2773, 22.8841)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3183 #31BA68
analogous
#AC31BA #BA3183 #BA313E
triadic
#BA3183 #83BA31 #3183BA
tetradic
#BA3183 #BAAC31 #31BA68 #313EBA
square
#BA3183 #BAAC31 #31BA68 #313EBA
split-complementary
#BA3183 #3EBA31 #31BAAC
monochromatic
#59173F #8A2461 #BA3183 #D256A0 #DF86BB

Accessibility & contrast

On white

5.45
#BA3183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA3183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3183
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3183#FFFFFF#000000##FFFFFF
##BA31831.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A85
Deuteranopia (green-blind)
#6E7280
Tritanopia (blue-blind)
#C72A56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3183;
/* rgb */ color: rgb(186, 49, 131);
/* oklch */ color: oklch(54.8% 0.190 348.5);
Tailwind
colors: {
  custom: {
    50: '#d376a7',
    500: '#ba3183',
    950: '#000000',
  },
}
SCSS
$custom: #ba3183;
$custom-light: #d376a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3183",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 324.088,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.18952,
    "h": 348.5
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#BA3183
secondary
#7EC99C
accent
#E28546
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3183

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

Preview Lab → · Contrast checker → · Palette generator →

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