#BA367B#BA367B

#BA367B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.180 H 352.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA367B
RGBrgb(186, 54, 123)
HSLhsl(329, 55%, 47%)
HSVhsv(329, 71%, 73%)
CMYKcmyk(0%, 71%, 33.9%, 27.1%)
CIE-LABlab(44.96, 58.24, -8.99)
CIE-LCHlch(44.96, 58.93, 351.22°)
OKLaboklab(54.92% 0.1782 -0.0231)
OKLCHoklch(54.92% 0.18 352.6)
XYZxyz(25.1455, 14.5104, 20.2116)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA367B #36BA75
analogous
#B736BA #BA367B #BA3639
triadic
#BA367B #7BBA36 #367BBA
tetradic
#BA367B #BAB736 #36BA75 #3639BA
square
#BA367B #BAB736 #36BA75 #3639BA
split-complementary
#BA367B #39BA36 #36BAB7
monochromatic
#5B1A3C #8B285C #BA367B #D05D99 #DE8DB7

Accessibility & contrast

On white

5.38
#BA367B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA367B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA367B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA367B#FFFFFF#000000##FFFFFF
##BA367B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#C82C54
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba367b;
/* rgb */ color: rgb(186, 54, 123);
/* oklch */ color: oklch(54.9% 0.180 352.6);
Tailwind
colors: {
  custom: {
    50: '#d378a1',
    500: '#ba367b',
    950: '#000000',
  },
}
SCSS
$custom: #ba367b;
$custom-light: #d378a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba367b",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 328.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.17967,
    "h": 352.6
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#BA367B
secondary
#84C8A4
accent
#DE9149
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA367B

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

Preview Lab → · Contrast checker → · Palette generator →

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