#BA3E79#BA3E79

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

Color values

HEX#BA3E79
RGBrgb(186, 62, 121)
HSLhsl(331, 50%, 49%)
HSVhsv(331, 67%, 73%)
CMYKcmyk(0%, 66.7%, 34.9%, 27.1%)
CIE-LABlab(46.00, 54.93, -6.21)
CIE-LCHlch(46.00, 55.28, 353.55°)
OKLaboklab(55.66% 0.1679 -0.0157)
OKLCHoklch(55.66% 0.169 354.7)
XYZxyz(25.4250, 15.2677, 19.6935)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E79 #3EBA7F
analogous
#BA3EB7 #BA3E79 #BA413E
triadic
#BA3E79 #79BA3E #3E79BA
tetradic
#BA3E79 #B7BA3E #3EBA7F #413EBA
square
#BA3E79 #B7BA3E #3EBA7F #413EBA
split-complementary
#BA3E79 #3EBA41 #3EB7BA
monochromatic
#5E1F3D #8C2F5B #BA3E79 #CD6898 #DC96B8

Accessibility & contrast

On white

5.18
#BA3E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E79
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E79#FFFFFF#000000##FFFFFF
##BA3E791.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7B
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#C83456
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e79;
/* rgb */ color: rgb(186, 62, 121);
/* oklch */ color: oklch(55.7% 0.169 354.7);
Tailwind
colors: {
  custom: {
    50: '#d37b9f',
    500: '#ba3e79',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e79;
$custom-light: #d37b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e79",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 331.452,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.16865,
    "h": 354.7
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#BA3E79
secondary
#8CC8AB
accent
#DA974E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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