#BA368F#BA368F

#BA368F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 343.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA368F
RGBrgb(186, 54, 143)
HSLhsl(320, 55%, 47%)
HSVhsv(320, 71%, 73%)
CMYKcmyk(0%, 71%, 23.1%, 27.1%)
CIE-LABlab(45.72, 60.72, -19.99)
CIE-LCHlch(45.72, 63.93, 341.77°)
OKLaboklab(55.73% 0.183 -0.0534)
OKLCHoklch(55.73% 0.191 343.7)
XYZxyz(26.5278, 15.0633, 27.4917)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA368F #36BA61
analogous
#A336BA #BA368F #BA364D
triadic
#BA368F #8FBA36 #368FBA
tetradic
#BA368F #BAA336 #36BA61 #364DBA
square
#BA368F #BAA336 #36BA61 #364DBA
split-complementary
#BA368F #4DBA36 #36BAA3
monochromatic
#5B1A46 #8B286B #BA368F #D05DAB #DE8DC3

Accessibility & contrast

On white

5.23
#BA368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA368F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA368F#FFFFFF#000000##FFFFFF
##BA368F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#6C748C
Tritanopia (blue-blind)
#C6365E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba368f;
/* rgb */ color: rgb(186, 54, 143);
/* oklch */ color: oklch(55.7% 0.191 343.7);
Tailwind
colors: {
  custom: {
    50: '#d378b0',
    500: '#ba368f',
    950: '#000000',
  },
}
SCSS
$custom: #ba368f;
$custom-light: #d378b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba368f",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 319.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.19058,
    "h": 343.7
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#BA368F
secondary
#84C89A
accent
#DE7A49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA368F

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

Preview Lab → · Contrast checker → · Palette generator →

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