#BA2E92#BA2E92

#BA2E92 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.2% C 0.201 H 342.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA2E92
RGBrgb(186, 46, 146)
HSLhsl(317, 60%, 45%)
HSVhsv(317, 75%, 73%)
CMYKcmyk(0%, 75.3%, 21.5%, 27.1%)
CIE-LABlab(44.90, 63.79, -23.07)
CIE-LCHlch(44.90, 67.83, 340.12°)
OKLaboklab(55.17% 0.1917 -0.0619)
OKLCHoklch(55.17% 0.201 342.1)
XYZxyz(26.4159, 14.4711, 28.5906)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E92 #2EBA56
analogous
#9C2EBA #BA2E92 #BA2E4C
triadic
#BA2E92 #92BA2E #2E92BA
tetradic
#BA2E92 #BA9C2E #2EBA56 #2E4CBA
square
#BA2E92 #BA9C2E #2EBA56 #2E4CBA
split-complementary
#BA2E92 #4CBA2E #2EBA9C
monochromatic
#581645 #89226B #BA2E92 #D451AF #E082C5

Accessibility & contrast

On white

5.39
#BA2E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA2E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E92
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E92#FFFFFF#000000##FFFFFF
##BA2E921.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C95
Deuteranopia (green-blind)
#68728F
Tritanopia (blue-blind)
#C6305D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2e92;
/* rgb */ color: rgb(186, 46, 146);
/* oklch */ color: oklch(55.2% 0.201 342.1);
Tailwind
colors: {
  custom: {
    50: '#d375b2',
    500: '#ba2e92',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e92;
$custom-light: #d375b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e92",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 317.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.20145,
    "h": 342.1
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#BA2E92
secondary
#7BC991
accent
#E37244
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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