#BA3D79#BA3D79

#BA3D79 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.170 H 354.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3D79
RGBrgb(186, 61, 121)
HSLhsl(331, 51%, 48%)
HSVhsv(331, 67%, 73%)
CMYKcmyk(0%, 67.2%, 34.9%, 27.1%)
CIE-LABlab(45.85, 55.33, -6.43)
CIE-LCHlch(45.85, 55.70, 353.37°)
OKLaboklab(55.55% 0.1692 -0.0163)
OKLCHoklch(55.55% 0.17 354.5)
XYZxyz(25.3711, 15.1599, 19.6755)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D79 #3DBA7E
analogous
#BA3DB7 #BA3D79 #BA3F3D
triadic
#BA3D79 #79BA3D #3D79BA
tetradic
#BA3D79 #B7BA3D #3DBA7E #3F3DBA
square
#BA3D79 #B7BA3D #3DBA7E #3F3DBA
split-complementary
#BA3D79 #3DBA3F #3DB7BA
monochromatic
#5E1F3D #8C2E5B #BA3D79 #CD6798 #DC95B7

Accessibility & contrast

On white

5.21
#BA3D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D79
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D79#FFFFFF#000000##FFFFFF
##BA3D791.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3d79;
/* rgb */ color: rgb(186, 61, 121);
/* oklch */ color: oklch(55.6% 0.170 354.5);
Tailwind
colors: {
  custom: {
    50: '#d37b9f',
    500: '#ba3d79',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d79;
$custom-light: #d37b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d79",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 331.2,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.16997,
    "h": 354.5
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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