#BA3175#BA3175

#BA3175 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.183 H 354.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA3175
RGBrgb(186, 49, 117)
HSLhsl(330, 58%, 46%)
HSVhsv(330, 74%, 73%)
CMYKcmyk(0%, 73.7%, 37.1%, 27.1%)
CIE-LABlab(44.12, 59.32, -6.55)
CIE-LCHlch(44.12, 59.68, 353.70°)
OKLaboklab(54.24% 0.182 -0.0165)
OKLCHoklch(54.24% 0.183 354.8)
XYZxyz(24.5605, 13.9231, 18.2202)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3175 #31BA76
analogous
#BA31B9 #BA3175 #BA3131
triadic
#BA3175 #75BA31 #3175BA
tetradic
#BA3175 #B9BA31 #31BA76 #3131BA
square
#BA3175 #B9BA31 #31BA76 #3131BA
split-complementary
#BA3175 #31BA31 #31B9BA
monochromatic
#591738 #8A2457 #BA3175 #D25694 #DF86B2

Accessibility & contrast

On white

5.55
#BA3175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA3175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3175
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3175#FFFFFF#000000##FFFFFF
##BA31751.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5877
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#C9224F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3175;
/* rgb */ color: rgb(186, 49, 117);
/* oklch */ color: oklch(54.2% 0.183 354.8);
Tailwind
colors: {
  custom: {
    50: '#d4759c',
    500: '#ba3175',
    950: '#000000',
  },
}
SCSS
$custom: #ba3175;
$custom-light: #d4759c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3175",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 330.219,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.18275,
    "h": 354.8
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#BA3175
secondary
#7EC9A4
accent
#E29446
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3175

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

Preview Lab → · Contrast checker → · Palette generator →

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