#BA3D74#BA3D74

#BA3D74 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.168 H 357.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3D74
RGBrgb(186, 61, 116)
HSLhsl(334, 51%, 48%)
HSVhsv(334, 67%, 73%)
CMYKcmyk(0%, 67.2%, 37.6%, 27.1%)
CIE-LABlab(45.69, 54.76, -3.61)
CIE-LCHlch(45.69, 54.88, 356.23°)
OKLaboklab(55.38% 0.1676 -0.0088)
OKLCHoklch(55.38% 0.168 357)
XYZxyz(25.0724, 15.0405, 18.1024)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D74 #3DBA83
analogous
#BA3DB2 #BA3D74 #BA443D
triadic
#BA3D74 #74BA3D #3D74BA
tetradic
#BA3D74 #B2BA3D #3DBA83 #443DBA
square
#BA3D74 #B2BA3D #3DBA83 #443DBA
split-complementary
#BA3D74 #3DBA44 #3DB2BA
monochromatic
#5E1F3B #8C2E57 #BA3D74 #CD6794 #DC95B4

Accessibility & contrast

On white

5.24
#BA3D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3D74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D74
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D74#FFFFFF#000000##FFFFFF
##BA3D741.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D76
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#C93154
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3d74;
/* rgb */ color: rgb(186, 61, 116);
/* oklch */ color: oklch(55.4% 0.168 357.0);
Tailwind
colors: {
  custom: {
    50: '#d37b9b',
    500: '#ba3d74',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d74;
$custom-light: #d37b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d74",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 333.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.16786,
    "h": 357
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#BA3D74
secondary
#8BC8AD
accent
#DA9C4E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3D74

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

Preview Lab → · Contrast checker → · Palette generator →

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