#BA3868#BA3868

#BA3868 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.170 H 2.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA3868
RGBrgb(186, 56, 104)
HSLhsl(338, 54%, 47%)
HSVhsv(338, 70%, 73%)
CMYKcmyk(0%, 69.9%, 44.1%, 27.1%)
CIE-LABlab(44.62, 55.47, 2.20)
CIE-LCHlch(44.62, 55.51, 2.27°)
OKLaboklab(54.47% 0.1698 0.0063)
OKLCHoklch(54.47% 0.17 2.1)
XYZxyz(24.1644, 14.2700, 14.5759)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3868 #38BA8A
analogous
#BA38A9 #BA3868 #BA4938
triadic
#BA3868 #68BA38 #3868BA
tetradic
#BA3868 #A9BA38 #38BA8A #4938BA
square
#BA3868 #A9BA38 #38BA8A #4938BA
split-complementary
#BA3868 #38BA49 #38A9BA
monochromatic
#5C1C33 #8B2A4E #BA3868 #CF6089 #DD8FAC

Accessibility & contrast

On white

5.45
#BA3868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA3868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3868
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3868#FFFFFF#000000##FFFFFF
##BA38681.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545969
Deuteranopia (green-blind)
#777365
Tritanopia (blue-blind)
#CA254C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3868;
/* rgb */ color: rgb(186, 56, 104);
/* oklch */ color: oklch(54.5% 0.170 2.1);
Tailwind
colors: {
  custom: {
    50: '#d47892',
    500: '#ba3868',
    950: '#000000',
  },
}
SCSS
$custom: #ba3868;
$custom-light: #d47892;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3868",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 337.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.16992,
    "h": 2.1
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#BA3868
secondary
#86C8B0
accent
#DDA74B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3868

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

Preview Lab → · Contrast checker → · Palette generator →

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