#BA4874#BA4874

#BA4874 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.153 H 359.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4874
RGBrgb(186, 72, 116)
HSLhsl(337, 45%, 51%)
HSVhsv(337, 61%, 73%)
CMYKcmyk(0%, 61.3%, 37.6%, 27.1%)
CIE-LABlab(47.41, 50.07, -1.07)
CIE-LCHlch(47.41, 50.08, 358.77°)
OKLaboklab(56.66% 0.1529 -0.0022)
OKLCHoklch(56.66% 0.153 359.2)
XYZxyz(25.7210, 16.3376, 18.3186)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4874 #48BA8E
analogous
#BA48AD #BA4874 #BA5548
triadic
#BA4874 #74BA48 #4874BA
tetradic
#BA4874 #ADBA48 #48BA8E #5548BA
square
#BA4874 #ADBA48 #48BA8E #5548BA
split-complementary
#BA4874 #48BA55 #48ADBA
monochromatic
#62253D #8F3658 #BA4874 #CB7496 #DCA1B8

Accessibility & contrast

On white

4.92
#BA4874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA4874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4874
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4874#FFFFFF#000000##FFFFFF
##BA48741.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6375
Deuteranopia (green-blind)
#7A7871
Tritanopia (blue-blind)
#C83E59
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4874;
/* rgb */ color: rgb(186, 72, 116);
/* oklch */ color: oklch(56.7% 0.153 359.2);
Tailwind
colors: {
  custom: {
    50: '#d3819b',
    500: '#ba4874',
    950: '#000000',
  },
}
SCSS
$custom: #ba4874;
$custom-light: #d3819b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4874",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 336.842,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.15289,
    "h": 359.2
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#BA4874
secondary
#96C8B5
accent
#D5A353
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4874

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

Preview Lab → · Contrast checker → · Palette generator →

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