#BA476F#BA476F

#BA476F is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.4% C 0.153 H 1.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA476F
RGBrgb(186, 71, 111)
HSLhsl(339, 45%, 50%)
HSVhsv(339, 62%, 73%)
CMYKcmyk(0%, 61.8%, 40.3%, 27.1%)
CIE-LABlab(47.10, 49.96, 1.51)
CIE-LCHlch(47.10, 49.99, 1.73°)
OKLaboklab(56.38% 0.1525 0.0045)
OKLCHoklch(56.38% 0.153 1.7)
XYZxyz(25.3738, 16.0962, 16.8065)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA476F #47BA92
analogous
#BA47A9 #BA476F #BA5847
triadic
#BA476F #6FBA47 #476FBA
tetradic
#BA476F #A9BA47 #47BA92 #5847BA
square
#BA476F #A9BA47 #47BA92 #5847BA
split-complementary
#BA476F #47BA58 #47A9BA
monochromatic
#62253A #8E3554 #BA476F #CB7492 #DBA0B5

Accessibility & contrast

On white

4.98
#BA476F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA476F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA476F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA476F#FFFFFF#000000##FFFFFF
##BA476F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6270
Deuteranopia (green-blind)
#7B786C
Tritanopia (blue-blind)
#C93B57
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba476f;
/* rgb */ color: rgb(186, 71, 111);
/* oklch */ color: oklch(56.4% 0.153 1.7);
Tailwind
colors: {
  custom: {
    50: '#d38098',
    500: '#ba476f',
    950: '#000000',
  },
}
SCSS
$custom: #ba476f;
$custom-light: #d38098;
$custom-dark: #000000;
JSON
{
  "hex": "#ba476f",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 339.13,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.15261,
    "h": 1.7
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#BA476F
secondary
#95C8B6
accent
#D5A853
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA476F

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

Preview Lab → · Contrast checker → · Palette generator →

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