#BA284F#BA284F

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

Color values

HEX#BA284F
RGBrgb(186, 40, 79)
HSLhsl(344, 65%, 44%)
HSVhsv(344, 78%, 73%)
CMYKcmyk(0%, 78.5%, 57.5%, 27.1%)
CIE-LABlab(42.04, 58.78, 14.15)
CIE-LCHlch(42.04, 60.46, 13.53°)
OKLaboklab(52.35% 0.1779 0.0354)
OKLCHoklch(52.35% 0.181 11.2)
XYZxyz(22.4220, 12.5245, 8.6324)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA284F #28BA93
analogous
#BA2898 #BA284F #BA4A28
triadic
#BA284F #4FBA28 #284FBA
tetradic
#BA284F #98BA28 #28BA93 #4A28BA
square
#BA284F #98BA28 #28BA93 #4A28BA
split-complementary
#BA284F #28BA4A #2898BA
monochromatic
#551224 #881D3A #BA284F #D8486E #E27A96

Accessibility & contrast

On white

5.99
#BA284F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA284F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA284F#FFFFFF#000000##FFFFFF
##BA284F1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505050
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba284f;
/* rgb */ color: rgb(186, 40, 79);
/* oklch */ color: oklch(52.4% 0.181 11.2);
Tailwind
colors: {
  custom: {
    50: '#d67080',
    500: '#ba284f',
    950: '#000000',
  },
}
SCSS
$custom: #ba284f;
$custom-light: #d67080;
$custom-dark: #000000;
JSON
{
  "hex": "#ba284f",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 343.973,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.18136,
    "h": 11.2
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#BA284F
secondary
#73CAB3
accent
#E8BB40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA284F

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

Preview Lab → · Contrast checker → · Palette generator →

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