#BA3D8E#BA3D8E

#BA3D8E is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.4% C 0.181 H 344.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA3D8E
RGBrgb(186, 61, 142)
HSLhsl(321, 51%, 48%)
HSVhsv(321, 67%, 73%)
CMYKcmyk(0%, 67.2%, 23.7%, 27.1%)
CIE-LABlab(46.62, 57.96, -18.01)
CIE-LCHlch(46.62, 60.69, 342.74°)
OKLaboklab(56.37% 0.1747 -0.0479)
OKLCHoklch(56.37% 0.181 344.7)
XYZxyz(26.8019, 15.7323, 27.2111)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D8E #3DBA69
analogous
#A73DBA #BA3D8E #BA3D4F
triadic
#BA3D8E #8EBA3D #3D8EBA
tetradic
#BA3D8E #BAA73D #3DBA69 #3D4FBA
square
#BA3D8E #BAA73D #3DBA69 #3D4FBA
split-complementary
#BA3D8E #4FBA3D #3DBAA7
monochromatic
#5E1F48 #8C2E6B #BA3D8E #CD67A9 #DC95C3

Accessibility & contrast

On white

5.07
#BA3D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA3D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D8E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D8E#FFFFFF#000000##FFFFFF
##BA3D8E1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#C63C60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3d8e;
/* rgb */ color: rgb(186, 61, 142);
/* oklch */ color: oklch(56.4% 0.181 344.7);
Tailwind
colors: {
  custom: {
    50: '#d27caf',
    500: '#ba3d8e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d8e;
$custom-light: #d27caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d8e",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 321.12,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.18114,
    "h": 344.7
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#BA3D8E
secondary
#8BC8A0
accent
#DA7F4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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