#BA476A#BA476A

#BA476A is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.2% C 0.151 H 4.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA476A
RGBrgb(186, 71, 106)
HSLhsl(342, 45%, 50%)
HSVhsv(342, 62%, 73%)
CMYKcmyk(0%, 61.8%, 43%, 27.1%)
CIE-LABlab(46.96, 49.43, 4.36)
CIE-LCHlch(46.96, 49.62, 5.03°)
OKLaboklab(56.23% 0.1507 0.0118)
OKLCHoklch(56.23% 0.151 4.5)
XYZxyz(25.1062, 15.9891, 15.3970)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA476A #47BA97
analogous
#BA47A4 #BA476A #BA5D47
triadic
#BA476A #6ABA47 #476ABA
tetradic
#BA476A #A4BA47 #47BA97 #5D47BA
square
#BA476A #A4BA47 #47BA97 #5D47BA
split-complementary
#BA476A #47BA5D #47A4BA
monochromatic
#622537 #8E3550 #BA476A #CB748E #DBA0B2

Accessibility & contrast

On white

5.00
#BA476A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA476A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA476A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA476A#FFFFFF#000000##FFFFFF
##BA476A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E616B
Deuteranopia (green-blind)
#7C7867
Tritanopia (blue-blind)
#C93954
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba476a;
/* rgb */ color: rgb(186, 71, 106);
/* oklch */ color: oklch(56.2% 0.151 4.5);
Tailwind
colors: {
  custom: {
    50: '#d38094',
    500: '#ba476a',
    950: '#000000',
  },
}
SCSS
$custom: #ba476a;
$custom-light: #d38094;
$custom-dark: #000000;
JSON
{
  "hex": "#ba476a",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 341.739,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.1512,
    "h": 4.5
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#BA476A
secondary
#95C8B8
accent
#D5AD53
background
#FDF8F9
surface
#FBEFF1
border
#D4CACB
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA476A

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

Preview Lab → · Contrast checker → · Palette generator →

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