#BA284D#BA284D

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

Color values

HEX#BA284D
RGBrgb(186, 40, 77)
HSLhsl(345, 65%, 44%)
HSVhsv(345, 78%, 73%)
CMYKcmyk(0%, 78.5%, 58.6%, 27.1%)
CIE-LABlab(41.99, 58.64, 15.34)
CIE-LCHlch(41.99, 60.62, 14.66°)
OKLaboklab(52.31% 0.1771 0.0381)
OKLCHoklch(52.31% 0.181 12.1)
XYZxyz(22.3503, 12.4958, 8.2548)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA284D #28BA95
analogous
#BA2896 #BA284D #BA4C28
triadic
#BA284D #4DBA28 #284DBA
tetradic
#BA284D #96BA28 #28BA95 #4C28BA
square
#BA284D #96BA28 #28BA95 #4C28BA
split-complementary
#BA284D #28BA4C #2896BA
monochromatic
#551223 #881D38 #BA284D #D8486C #E27A94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA284D#FFFFFF#000000##FFFFFF
##BA284D1.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)
#51504D
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba284d;
/* rgb */ color: rgb(186, 40, 77);
/* oklch */ color: oklch(52.3% 0.181 12.1);
Tailwind
colors: {
  custom: {
    50: '#d6707e',
    500: '#ba284d',
    950: '#000000',
  },
}
SCSS
$custom: #ba284d;
$custom-light: #d6707e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba284d",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 344.795,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.18116,
    "h": 12.1
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#BA284D
secondary
#73CAB4
accent
#E8BD40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA284D

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

Preview Lab → · Contrast checker → · Palette generator →

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