#BA4279#BA4279

#BA4279 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.163 H 355.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA4279
RGBrgb(186, 66, 121)
HSLhsl(333, 48%, 49%)
HSVhsv(333, 65%, 73%)
CMYKcmyk(0%, 64.5%, 34.9%, 27.1%)
CIE-LABlab(46.60, 53.27, -5.31)
CIE-LCHlch(46.60, 53.54, 354.30°)
OKLaboklab(56.11% 0.1627 -0.0133)
OKLCHoklch(56.11% 0.163 355.3)
XYZxyz(25.6505, 15.7188, 19.7687)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4279 #42BA83
analogous
#BA42B5 #BA4279 #BA4742
triadic
#BA4279 #79BA42 #4279BA
tetradic
#BA4279 #B5BA42 #42BA83 #4742BA
square
#BA4279 #B5BA42 #42BA83 #4742BA
split-complementary
#BA4279 #42BA47 #42B5BA
monochromatic
#60223E #8D325C #BA4279 #CB6E99 #DB9BB9

Accessibility & contrast

On white

5.07
#BA4279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA4279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4279
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4279#FFFFFF#000000##FFFFFF
##BA42791.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56607B
Deuteranopia (green-blind)
#777776
Tritanopia (blue-blind)
#C83958
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4279;
/* rgb */ color: rgb(186, 66, 121);
/* oklch */ color: oklch(56.1% 0.163 355.3);
Tailwind
colors: {
  custom: {
    50: '#d37e9f',
    500: '#ba4279',
    950: '#000000',
  },
}
SCSS
$custom: #ba4279;
$custom-light: #d37e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4279",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 332.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.16328,
    "h": 355.3
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#BA4279
secondary
#90C8AE
accent
#D79A51
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4279

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

Preview Lab → · Contrast checker → · Palette generator →

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