#BA348E#BA348E

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

Color values

HEX#BA348E
RGBrgb(186, 52, 142)
HSLhsl(320, 56%, 47%)
HSVhsv(320, 72%, 73%)
CMYKcmyk(0%, 72%, 23.7%, 27.1%)
CIE-LABlab(45.43, 61.29, -19.84)
CIE-LCHlch(45.43, 64.42, 342.06°)
OKLaboklab(55.5% 0.1849 -0.0529)
OKLCHoklch(55.5% 0.192 344)
XYZxyz(26.3612, 14.8508, 27.0642)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA348E #34BA60
analogous
#A334BA #BA348E #BA344B
triadic
#BA348E #8EBA34 #348EBA
tetradic
#BA348E #BAA334 #34BA60 #344BBA
square
#BA348E #BAA334 #34BA60 #344BBA
split-complementary
#BA348E #4BBA34 #34BAA3
monochromatic
#5A1945 #8A2769 #BA348E #D15AAA #DE8AC3

Accessibility & contrast

On white

5.29
#BA348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA348E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA348E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA348E#FFFFFF#000000##FFFFFF
##BA348E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#6B748B
Tritanopia (blue-blind)
#C6335D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba348e;
/* rgb */ color: rgb(186, 52, 142);
/* oklch */ color: oklch(55.5% 0.192 344.0);
Tailwind
colors: {
  custom: {
    50: '#d377af',
    500: '#ba348e',
    950: '#000000',
  },
}
SCSS
$custom: #ba348e;
$custom-light: #d377af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba348e",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 319.701,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55501,
    "c": 0.19234,
    "h": 344
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA348E

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

Preview Lab → · Contrast checker → · Palette generator →

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