#BA224E#BA224E

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

Color values

HEX#BA224E
RGBrgb(186, 34, 78)
HSLhsl(343, 69%, 43%)
HSVhsv(343, 82%, 73%)
CMYKcmyk(0%, 81.7%, 58.1%, 27.1%)
CIE-LABlab(41.43, 60.37, 13.95)
CIE-LCHlch(41.43, 61.96, 13.01°)
OKLaboklab(51.9% 0.1828 0.0348)
OKLCHoklch(51.9% 0.186 10.8)
XYZxyz(22.1991, 12.1365, 8.3799)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA224E #22BA8E
analogous
#BA229A #BA224E #BA4222
triadic
#BA224E #4EBA22 #224EBA
tetradic
#BA224E #9ABA22 #22BA8E #4222BA
square
#BA224E #9ABA22 #22BA8E #4222BA
split-complementary
#BA224E #22BA42 #229ABA
monochromatic
#530F23 #861938 #BA224E #DC3E6B #E57193

Accessibility & contrast

On white

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

On black

3.43
#BA224E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA224E#FFFFFF#000000##FFFFFF
##BA224E1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba224e;
/* rgb */ color: rgb(186, 34, 78);
/* oklch */ color: oklch(51.9% 0.186 10.8);
Tailwind
colors: {
  custom: {
    50: '#d66e7f',
    500: '#ba224e',
    950: '#000000',
  },
}
SCSS
$custom: #ba224e;
$custom-light: #d66e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba224e",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 342.632,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.18613,
    "h": 10.8
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#BA224E
secondary
#6CCCB0
accent
#ECB93C
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA224E

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

Preview Lab → · Contrast checker → · Palette generator →

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