#BA476E#BA476E

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

Color values

HEX#BA476E
RGBrgb(186, 71, 110)
HSLhsl(340, 45%, 50%)
HSVhsv(340, 62%, 73%)
CMYKcmyk(0%, 61.8%, 40.9%, 27.1%)
CIE-LABlab(47.07, 49.86, 2.08)
CIE-LCHlch(47.07, 49.90, 2.39°)
OKLaboklab(56.35% 0.1522 0.006)
OKLCHoklch(56.35% 0.152 2.2)
XYZxyz(25.3191, 16.0743, 16.5181)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA476E #47BA93
analogous
#BA47A8 #BA476E #BA5947
triadic
#BA476E #6EBA47 #476EBA
tetradic
#BA476E #A8BA47 #47BA93 #5947BA
square
#BA476E #A8BA47 #47BA93 #5947BA
split-complementary
#BA476E #47BA59 #47A8BA
monochromatic
#622539 #8E3554 #BA476E #CB7491 #DBA0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA476E#FFFFFF#000000##FFFFFF
##BA476E1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D626F
Deuteranopia (green-blind)
#7B786B
Tritanopia (blue-blind)
#C93B56
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba476e;
/* rgb */ color: rgb(186, 71, 110);
/* oklch */ color: oklch(56.3% 0.152 2.2);
Tailwind
colors: {
  custom: {
    50: '#d38097',
    500: '#ba476e',
    950: '#000000',
  },
}
SCSS
$custom: #ba476e;
$custom-light: #d38097;
$custom-dark: #000000;
JSON
{
  "hex": "#ba476e",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 339.652,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.1523,
    "h": 2.2
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#BA476E
secondary
#95C8B7
accent
#D5A953
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA476E

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

Preview Lab → · Contrast checker → · Palette generator →

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