#BA4276#BA4276

#BA4276 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.162 H 356.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA4276
RGBrgb(186, 66, 118)
HSLhsl(334, 48%, 49%)
HSVhsv(334, 65%, 73%)
CMYKcmyk(0%, 64.5%, 36.6%, 27.1%)
CIE-LABlab(46.51, 52.92, -3.63)
CIE-LCHlch(46.51, 53.05, 356.08°)
OKLaboklab(56.01% 0.1618 -0.0089)
OKLCHoklch(56.01% 0.162 356.9)
XYZxyz(25.4694, 15.6464, 18.8148)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4276 #42BA86
analogous
#BA42B2 #BA4276 #BA4A42
triadic
#BA4276 #76BA42 #4276BA
tetradic
#BA4276 #B2BA42 #42BA86 #4A42BA
square
#BA4276 #B2BA42 #42BA86 #4A42BA
split-complementary
#BA4276 #42BA4A #42B2BA
monochromatic
#60223D #8D3259 #BA4276 #CB6E96 #DB9BB7

Accessibility & contrast

On white

5.09
#BA4276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA4276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4276
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4276#FFFFFF#000000##FFFFFF
##BA42761.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576077
Deuteranopia (green-blind)
#777673
Tritanopia (blue-blind)
#C83857
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4276;
/* rgb */ color: rgb(186, 66, 118);
/* oklch */ color: oklch(56.0% 0.162 356.9);
Tailwind
colors: {
  custom: {
    50: '#d37d9d',
    500: '#ba4276',
    950: '#000000',
  },
}
SCSS
$custom: #ba4276;
$custom-light: #d37d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4276",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 334,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.16201,
    "h": 356.9
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#BA4276
secondary
#90C8B0
accent
#D79D51
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4276

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

Preview Lab → · Contrast checker → · Palette generator →

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