#BA348D#BA348D

#BA348D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.5% C 0.192 H 344.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA348D
RGBrgb(186, 52, 141)
HSLhsl(320, 56%, 47%)
HSVhsv(320, 72%, 73%)
CMYKcmyk(0%, 72%, 24.2%, 27.1%)
CIE-LABlab(45.39, 61.16, -19.30)
CIE-LCHlch(45.39, 64.13, 342.49°)
OKLaboklab(55.46% 0.1847 -0.0514)
OKLCHoklch(55.46% 0.192 344.4)
XYZxyz(26.2864, 14.8209, 26.6705)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA348D #34BA61
analogous
#A434BA #BA348D #BA344A
triadic
#BA348D #8DBA34 #348DBA
tetradic
#BA348D #BAA434 #34BA61 #344ABA
square
#BA348D #BAA434 #34BA61 #344ABA
split-complementary
#BA348D #4ABA34 #34BAA4
monochromatic
#5A1944 #8A2769 #BA348D #D15AA9 #DE8AC2

Accessibility & contrast

On white

5.30
#BA348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BA348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA348D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA348D#FFFFFF#000000##FFFFFF
##BA348D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#C6335C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba348d;
/* rgb */ color: rgb(186, 52, 141);
/* oklch */ color: oklch(55.5% 0.192 344.4);
Tailwind
colors: {
  custom: {
    50: '#d377ae',
    500: '#ba348d',
    950: '#000000',
  },
}
SCSS
$custom: #ba348d;
$custom-light: #d377ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba348d",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 320.149,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.19174,
    "h": 344.4
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#BA348D
secondary
#81C899
accent
#E07B48
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA348D

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

Preview Lab → · Contrast checker → · Palette generator →

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