#BA3E8E#BA3E8E

#BA3E8E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.5% C 0.180 H 344.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA3E8E
RGBrgb(186, 62, 142)
HSLhsl(321, 50%, 49%)
HSVhsv(321, 67%, 73%)
CMYKcmyk(0%, 66.7%, 23.7%, 27.1%)
CIE-LABlab(46.76, 57.56, -17.79)
CIE-LCHlch(46.76, 60.25, 342.83°)
OKLaboklab(56.48% 0.1735 -0.0473)
OKLCHoklch(56.48% 0.18 344.7)
XYZxyz(26.8558, 15.8400, 27.2290)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E8E #3EBA6A
analogous
#A83EBA #BA3E8E #BA3E50
triadic
#BA3E8E #8EBA3E #3E8EBA
tetradic
#BA3E8E #BAA83E #3EBA6A #3E50BA
square
#BA3E8E #BAA83E #3EBA6A #3E50BA
split-complementary
#BA3E8E #50BA3E #3EBAA8
monochromatic
#5E1F48 #8C2F6B #BA3E8E #CD68A9 #DC96C3

Accessibility & contrast

On white

5.04
#BA3E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA3E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E8E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E8E#FFFFFF#000000##FFFFFF
##BA3E8E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6290
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#C63D60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3e8e;
/* rgb */ color: rgb(186, 62, 142);
/* oklch */ color: oklch(56.5% 0.180 344.7);
Tailwind
colors: {
  custom: {
    50: '#d27caf',
    500: '#ba3e8e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e8e;
$custom-light: #d27caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e8e",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 321.29,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.17981,
    "h": 344.7
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#BA3E8E
secondary
#8CC8A1
accent
#DA804E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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