#BA2892#BA2892

#BA2892 is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.207 H 341.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA2892
RGBrgb(186, 40, 146)
HSLhsl(316, 65%, 44%)
HSVhsv(316, 78%, 73%)
CMYKcmyk(0%, 78.5%, 21.5%, 27.1%)
CIE-LABlab(44.28, 65.56, -24.03)
CIE-LCHlch(44.28, 69.82, 339.87°)
OKLaboklab(54.73% 0.1971 -0.0646)
OKLCHoklch(54.73% 0.207 341.8)
XYZxyz(26.1977, 14.0348, 28.5179)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2892 #28BA50
analogous
#9928BA #BA2892 #BA2849
triadic
#BA2892 #92BA28 #2892BA
tetradic
#BA2892 #BA9928 #28BA50 #2849BA
square
#BA2892 #BA9928 #28BA50 #2849BA
split-complementary
#BA2892 #49BA28 #28BA99
monochromatic
#551243 #881D6A #BA2892 #D848B0 #E27AC6

Accessibility & contrast

On white

5.52
#BA2892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2892
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2892#FFFFFF#000000##FFFFFF
##BA28921.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#C62B5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2892;
/* rgb */ color: rgb(186, 40, 146);
/* oklch */ color: oklch(54.7% 0.207 341.8);
Tailwind
colors: {
  custom: {
    50: '#d373b2',
    500: '#ba2892',
    950: '#000000',
  },
}
SCSS
$custom: #ba2892;
$custom-light: #d373b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2892",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 316.438,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.20741,
    "h": 341.8
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#BA2892
secondary
#73CA8B
accent
#E86E40
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2892

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

Preview Lab → · Contrast checker → · Palette generator →

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