#BA476C#BA476C

#BA476C is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.3% C 0.152 H 3.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA476C
RGBrgb(186, 71, 108)
HSLhsl(341, 45%, 50%)
HSVhsv(341, 62%, 73%)
CMYKcmyk(0%, 61.8%, 41.9%, 27.1%)
CIE-LABlab(47.02, 49.64, 3.21)
CIE-LCHlch(47.02, 49.75, 3.71°)
OKLaboklab(56.29% 0.1515 0.0089)
OKLCHoklch(56.29% 0.152 3.4)
XYZxyz(25.2114, 16.0312, 15.9511)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA476C #47BA95
analogous
#BA47A5 #BA476C #BA5B47
triadic
#BA476C #6CBA47 #476CBA
tetradic
#BA476C #A5BA47 #47BA95 #5B47BA
square
#BA476C #A5BA47 #47BA95 #5B47BA
split-complementary
#BA476C #47BA5B #47A5BA
monochromatic
#622538 #8E3552 #BA476C #CB7490 #DBA0B3

Accessibility & contrast

On white

4.99
#BA476C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA476C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA476C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA476C#FFFFFF#000000##FFFFFF
##BA476C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D616D
Deuteranopia (green-blind)
#7C7869
Tritanopia (blue-blind)
#C93A55
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba476c;
/* rgb */ color: rgb(186, 71, 108);
/* oklch */ color: oklch(56.3% 0.152 3.4);
Tailwind
colors: {
  custom: {
    50: '#d38095',
    500: '#ba476c',
    950: '#000000',
  },
}
SCSS
$custom: #ba476c;
$custom-light: #d38095;
$custom-dark: #000000;
JSON
{
  "hex": "#ba476c",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 108
  },
  "hsl": {
    "h": 340.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.15173,
    "h": 3.4
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA476C

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

Preview Lab → · Contrast checker → · Palette generator →

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