#BA368D#BA368D

#BA368D is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.189 H 344.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA368D
RGBrgb(186, 54, 141)
HSLhsl(320, 55%, 47%)
HSVhsv(320, 71%, 73%)
CMYKcmyk(0%, 71%, 24.2%, 27.1%)
CIE-LABlab(45.64, 60.45, -18.91)
CIE-LCHlch(45.64, 63.34, 342.63°)
OKLaboklab(55.64% 0.1826 -0.0503)
OKLCHoklch(55.64% 0.189 344.6)
XYZxyz(26.3776, 15.0033, 26.7009)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA368D #36BA63
analogous
#A536BA #BA368D #BA364B
triadic
#BA368D #8DBA36 #368DBA
tetradic
#BA368D #BAA536 #36BA63 #364BBA
square
#BA368D #BAA536 #36BA63 #364BBA
split-complementary
#BA368D #4BBA36 #36BAA5
monochromatic
#5B1A45 #8B2869 #BA368D #D05DA9 #DE8DC2

Accessibility & contrast

On white

5.25
#BA368D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA368D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA368D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA368D#FFFFFF#000000##FFFFFF
##BA368D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#C6355D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba368d;
/* rgb */ color: rgb(186, 54, 141);
/* oklch */ color: oklch(55.6% 0.189 344.6);
Tailwind
colors: {
  custom: {
    50: '#d378ae',
    500: '#ba368d',
    950: '#000000',
  },
}
SCSS
$custom: #ba368d;
$custom-light: #d378ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba368d",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 320.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.18937,
    "h": 344.6
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#BA368D
secondary
#84C89B
accent
#DE7C49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA368D

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

Preview Lab → · Contrast checker → · Palette generator →

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