#BA284E#BA284E

#BA284E is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.181 H 11.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA284E
RGBrgb(186, 40, 78)
HSLhsl(344, 65%, 44%)
HSVhsv(344, 78%, 73%)
CMYKcmyk(0%, 78.5%, 58.1%, 27.1%)
CIE-LABlab(42.02, 58.71, 14.74)
CIE-LCHlch(42.02, 60.54, 14.10°)
OKLaboklab(52.33% 0.1775 0.0367)
OKLCHoklch(52.33% 0.181 11.7)
XYZxyz(22.3859, 12.5100, 8.4422)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA284E #28BA94
analogous
#BA2897 #BA284E #BA4B28
triadic
#BA284E #4EBA28 #284EBA
tetradic
#BA284E #97BA28 #28BA94 #4B28BA
square
#BA284E #97BA28 #28BA94 #4B28BA
split-complementary
#BA284E #28BA4B #2897BA
monochromatic
#551224 #881D39 #BA284E #D8486D #E27A95

Accessibility & contrast

On white

6.00
#BA284E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA284E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA284E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA284E#FFFFFF#000000##FFFFFF
##BA284E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504F
Deuteranopia (green-blind)
#766E4A
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba284e;
/* rgb */ color: rgb(186, 40, 78);
/* oklch */ color: oklch(52.3% 0.181 11.7);
Tailwind
colors: {
  custom: {
    50: '#d6707f',
    500: '#ba284e',
    950: '#000000',
  },
}
SCSS
$custom: #ba284e;
$custom-light: #d6707f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba284e",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 344.384,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.18126,
    "h": 11.7
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#BA284E
secondary
#73CAB4
accent
#E8BC40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA284E

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

Preview Lab → · Contrast checker → · Palette generator →

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