#BA3F9E#BA3F9E

#BA3F9E is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.189 H 338.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA3F9E
RGBrgb(186, 63, 158)
HSLhsl(314, 49%, 49%)
HSVhsv(314, 66%, 73%)
CMYKcmyk(0%, 66.1%, 15.1%, 27.1%)
CIE-LABlab(47.58, 59.43, -26.11)
CIE-LCHlch(47.58, 64.92, 336.28°)
OKLaboklab(57.29% 0.1753 -0.0707)
OKLCHoklch(57.29% 0.189 338)
XYZxyz(28.1993, 16.4652, 34.0341)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F9E #3FBA5B
analogous
#993FBA #BA3F9E #BA3F60
triadic
#BA3F9E #9EBA3F #3F9EBA
tetradic
#BA3F9E #BA993F #3FBA5B #3F60BA
square
#BA3F9E #BA993F #3FBA5B #3F60BA
split-complementary
#BA3F9E #60BA3F #3FBA99
monochromatic
#5F2050 #8C3077 #BA3F9E #CC6AB6 #DC97CC

Accessibility & contrast

On white

4.89
#BA3F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA3F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F9E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F9E#FFFFFF#000000##FFFFFF
##BA3F9E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4465A1
Deuteranopia (green-blind)
#6A789B
Tritanopia (blue-blind)
#C44469
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3f9e;
/* rgb */ color: rgb(186, 63, 158);
/* oklch */ color: oklch(57.3% 0.189 338.0);
Tailwind
colors: {
  custom: {
    50: '#d27dbb',
    500: '#ba3f9e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f9e;
$custom-light: #d27dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f9e",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 313.659,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.18903,
    "h": 338
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#BA3F9E
secondary
#8DC89A
accent
#D96E4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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