#BA3862#BA3862

#BA3862 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.168 H 5.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3862
RGBrgb(186, 56, 98)
HSLhsl(341, 54%, 47%)
HSVhsv(341, 70%, 73%)
CMYKcmyk(0%, 69.9%, 47.3%, 27.1%)
CIE-LABlab(44.45, 54.90, 5.67)
CIE-LCHlch(44.45, 55.19, 5.90°)
OKLaboklab(54.29% 0.1676 0.0151)
OKLCHoklch(54.29% 0.168 5.1)
XYZxyz(23.8704, 14.1524, 13.0276)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3862 #38BA90
analogous
#BA38A3 #BA3862 #BA4F38
triadic
#BA3862 #62BA38 #3862BA
tetradic
#BA3862 #A3BA38 #38BA90 #4F38BA
square
#BA3862 #A3BA38 #38BA90 #4F38BA
split-complementary
#BA3862 #38BA4F #38A3BA
monochromatic
#5C1C30 #8B2A49 #BA3862 #CF6084 #DD8FA8

Accessibility & contrast

On white

5.48
#BA3862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3862
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3862#FFFFFF#000000##FFFFFF
##BA38621.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555963
Deuteranopia (green-blind)
#78735F
Tritanopia (blue-blind)
#CA2249
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3862;
/* rgb */ color: rgb(186, 56, 98);
/* oklch */ color: oklch(54.3% 0.168 5.1);
Tailwind
colors: {
  custom: {
    50: '#d4788e',
    500: '#ba3862',
    950: '#000000',
  },
}
SCSS
$custom: #ba3862;
$custom-light: #d4788e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3862",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 98
  },
  "hsl": {
    "h": 340.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.16832,
    "h": 5.1
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#BA3862
secondary
#86C8B3
accent
#DDAE4B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA3862

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

Preview Lab → · Contrast checker → · Palette generator →

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