#BA2790#BA2790

#BA2790 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.6% C 0.207 H 342.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA2790
RGBrgb(186, 39, 144)
HSLhsl(317, 65%, 44%)
HSVhsv(317, 79%, 73%)
CMYKcmyk(0%, 79%, 22.6%, 27.1%)
CIE-LABlab(44.10, 65.57, -23.10)
CIE-LCHlch(44.10, 69.52, 340.59°)
OKLaboklab(54.56% 0.1976 -0.062)
OKLCHoklch(54.56% 0.207 342.6)
XYZxyz(26.0102, 13.9065, 27.6946)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2790 #27BA51
analogous
#9B27BA #BA2790 #BA2747
triadic
#BA2790 #90BA27 #2790BA
tetradic
#BA2790 #BA9B27 #27BA51 #2747BA
square
#BA2790 #BA9B27 #27BA51 #2747BA
split-complementary
#BA2790 #47BA27 #27BA9B
monochromatic
#551242 #871C69 #BA2790 #D846AE #E379C4

Accessibility & contrast

On white

5.55
#BA2790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA2790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2790
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2790#FFFFFF#000000##FFFFFF
##BA27901.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385993
Deuteranopia (green-blind)
#66718D
Tritanopia (blue-blind)
#C6285A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2790;
/* rgb */ color: rgb(186, 39, 144);
/* oklch */ color: oklch(54.6% 0.207 342.6);
Tailwind
colors: {
  custom: {
    50: '#d372b0',
    500: '#ba2790',
    950: '#000000',
  },
}
SCSS
$custom: #ba2790;
$custom-light: #d372b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2790",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 317.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.20712,
    "h": 342.6
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#BA2790
secondary
#72CB8B
accent
#E87040
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2790

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

Preview Lab → · Contrast checker → · Palette generator →

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