#BA3295#BA3295

#BA3295 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.199 H 341.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA3295
RGBrgb(186, 50, 149)
HSLhsl(316, 58%, 46%)
HSVhsv(316, 73%, 73%)
CMYKcmyk(0%, 73.1%, 19.9%, 27.1%)
CIE-LABlab(45.49, 62.90, -23.97)
CIE-LCHlch(45.49, 67.32, 339.14°)
OKLaboklab(55.64% 0.1882 -0.0645)
OKLCHoklch(55.64% 0.199 341.1)
XYZxyz(26.8159, 14.8929, 29.8903)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3295 #32BA57
analogous
#9B32BA #BA3295 #BA3251
triadic
#BA3295 #95BA32 #3295BA
tetradic
#BA3295 #BA9B32 #32BA57 #3251BA
square
#BA3295 #BA9B32 #32BA57 #3251BA
split-complementary
#BA3295 #51BA32 #32BA9B
monochromatic
#5A1848 #8A256E #BA3295 #D257B1 #DF88C7

Accessibility & contrast

On white

5.28
#BA3295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA3295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3295
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3295#FFFFFF#000000##FFFFFF
##BA32951.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#687492
Tritanopia (blue-blind)
#C53560
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3295;
/* rgb */ color: rgb(186, 50, 149);
/* oklch */ color: oklch(55.6% 0.199 341.1);
Tailwind
colors: {
  custom: {
    50: '#d377b4',
    500: '#ba3295',
    950: '#000000',
  },
}
SCSS
$custom: #ba3295;
$custom-light: #d377b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3295",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 316.324,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.19898,
    "h": 341.1
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#BA3295
secondary
#7FC993
accent
#E17147
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3295

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

Preview Lab → · Contrast checker → · Palette generator →

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