#BA3E7B#BA3E7B

#BA3E7B is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.170 H 353.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA3E7B
RGBrgb(186, 62, 123)
HSLhsl(330, 50%, 49%)
HSVhsv(330, 67%, 73%)
CMYKcmyk(0%, 66.7%, 33.9%, 27.1%)
CIE-LABlab(46.07, 55.16, -7.33)
CIE-LCHlch(46.07, 55.65, 352.43°)
OKLaboklab(55.73% 0.1685 -0.0187)
OKLCHoklch(55.73% 0.17 353.7)
XYZxyz(25.5489, 15.3173, 20.3461)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E7B #3EBA7D
analogous
#BA3EB9 #BA3E7B #BA3F3E
triadic
#BA3E7B #7BBA3E #3E7BBA
tetradic
#BA3E7B #B9BA3E #3EBA7D #3F3EBA
square
#BA3E7B #B9BA3E #3EBA7D #3F3EBA
split-complementary
#BA3E7B #3EBA3F #3EB9BA
monochromatic
#5E1F3E #8C2F5D #BA3E7B #CD689A #DC96B9

Accessibility & contrast

On white

5.17
#BA3E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E7B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E7B#FFFFFF#000000##FFFFFF
##BA3E7B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7D
Deuteranopia (green-blind)
#757578
Tritanopia (blue-blind)
#C83557
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e7b;
/* rgb */ color: rgb(186, 62, 123);
/* oklch */ color: oklch(55.7% 0.170 353.7);
Tailwind
colors: {
  custom: {
    50: '#d37ca1',
    500: '#ba3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e7b;
$custom-light: #d37ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e7b",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 330.484,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.16956,
    "h": 353.7
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#BA3E7B
secondary
#8CC8AA
accent
#DA954E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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