#BA226A#BA226A

#BA226A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.193 H 358.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA226A
RGBrgb(186, 34, 106)
HSLhsl(332, 69%, 43%)
HSVhsv(332, 82%, 73%)
CMYKcmyk(0%, 81.7%, 43%, 27.1%)
CIE-LABlab(42.20, 62.64, -2.58)
CIE-LCHlch(42.20, 62.70, 357.64°)
OKLaboklab(52.71% 0.1928 -0.006)
OKLCHoklch(52.71% 0.193 358.2)
XYZxyz(23.4251, 12.6269, 14.8366)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA226A #22BA72
analogous
#BA22B6 #BA226A #BA2622
triadic
#BA226A #6ABA22 #226ABA
tetradic
#BA226A #B6BA22 #22BA72 #2622BA
square
#BA226A #B6BA22 #22BA72 #2622BA
split-complementary
#BA226A #22BA26 #22B6BA
monochromatic
#530F2F #86194D #BA226A #DC3E88 #E571A8

Accessibility & contrast

On white

5.96
#BA226A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA226A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA226A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA226A#FFFFFF#000000##FFFFFF
##BA226A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#CA0044
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba226a;
/* rgb */ color: rgb(186, 34, 106);
/* oklch */ color: oklch(52.7% 0.193 358.2);
Tailwind
colors: {
  custom: {
    50: '#d46f94',
    500: '#ba226a',
    950: '#000000',
  },
}
SCSS
$custom: #ba226a;
$custom-light: #d46f94;
$custom-dark: #000000;
JSON
{
  "hex": "#ba226a",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 331.579,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.19291,
    "h": 358.2
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#BA226A
secondary
#6CCC9E
accent
#EC993C
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #BA226A

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

Preview Lab → · Contrast checker → · Palette generator →

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