#BA3790#BA3790

#BA3790 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.9% C 0.190 H 343.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3790
RGBrgb(186, 55, 144)
HSLhsl(319, 54%, 47%)
HSVhsv(319, 70%, 73%)
CMYKcmyk(0%, 70.4%, 22.6%, 27.1%)
CIE-LABlab(45.89, 60.49, -20.34)
CIE-LCHlch(45.89, 63.82, 341.42°)
OKLaboklab(55.86% 0.182 -0.0543)
OKLCHoklch(55.86% 0.19 343.4)
XYZxyz(26.6509, 15.1878, 27.9081)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3790 #37BA61
analogous
#A337BA #BA3790 #BA374E
triadic
#BA3790 #90BA37 #3790BA
tetradic
#BA3790 #BAA337 #37BA61 #374EBA
square
#BA3790 #BAA337 #37BA61 #374EBA
split-complementary
#BA3790 #4EBA37 #37BAA3
monochromatic
#5C1B47 #8B296B #BA3790 #D05FAB #DE8EC4

Accessibility & contrast

On white

5.20
#BA3790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA3790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3790
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3790#FFFFFF#000000##FFFFFF
##BA37901.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#6C758D
Tritanopia (blue-blind)
#C6375F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3790;
/* rgb */ color: rgb(186, 55, 144);
/* oklch */ color: oklch(55.9% 0.190 343.4);
Tailwind
colors: {
  custom: {
    50: '#d379b0',
    500: '#ba3790',
    950: '#000000',
  },
}
SCSS
$custom: #ba3790;
$custom-light: #d379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3790",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 319.237,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.18998,
    "h": 343.4
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#BA3790
secondary
#85C89A
accent
#DE794A
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3790

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

Preview Lab → · Contrast checker → · Palette generator →

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