#BA224D#BA224D

#BA224D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 11.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA224D
RGBrgb(186, 34, 77)
HSLhsl(343, 69%, 43%)
HSVhsv(343, 82%, 73%)
CMYKcmyk(0%, 81.7%, 58.6%, 27.1%)
CIE-LABlab(41.41, 60.30, 14.55)
CIE-LCHlch(41.41, 62.03, 13.57°)
OKLaboklab(51.88% 0.1825 0.0362)
OKLCHoklch(51.88% 0.186 11.2)
XYZxyz(22.1635, 12.1223, 8.1925)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA224D #22BA8F
analogous
#BA2299 #BA224D #BA4322
triadic
#BA224D #4DBA22 #224DBA
tetradic
#BA224D #99BA22 #22BA8F #4322BA
square
#BA224D #99BA22 #22BA8F #4322BA
split-complementary
#BA224D #22BA43 #2299BA
monochromatic
#530F22 #861938 #BA224D #DC3E6A #E57192

Accessibility & contrast

On white

6.13
#BA224D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#BA224D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA224D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA224D#FFFFFF#000000##FFFFFF
##BA224D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba224d;
/* rgb */ color: rgb(186, 34, 77);
/* oklch */ color: oklch(51.9% 0.186 11.2);
Tailwind
colors: {
  custom: {
    50: '#d66e7e',
    500: '#ba224d',
    950: '#000000',
  },
}
SCSS
$custom: #ba224d;
$custom-light: #d66e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba224d",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 343.026,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.18601,
    "h": 11.2
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#BA224D
secondary
#6CCCB1
accent
#ECBA3C
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA224D

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

Preview Lab → · Contrast checker → · Palette generator →

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