#BA2F90#BA2F90

#BA2F90 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.199 H 342.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA2F90
RGBrgb(186, 47, 144)
HSLhsl(318, 60%, 46%)
HSVhsv(318, 75%, 73%)
CMYKcmyk(0%, 74.7%, 22.6%, 27.1%)
CIE-LABlab(44.93, 63.21, -21.82)
CIE-LCHlch(44.93, 66.87, 340.95°)
OKLaboklab(55.16% 0.1904 -0.0584)
OKLCHoklch(55.16% 0.199 342.9)
XYZxyz(26.3012, 14.4885, 27.7916)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F90 #2FBA59
analogous
#9E2FBA #BA2F90 #BA2F4B
triadic
#BA2F90 #90BA2F #2F90BA
tetradic
#BA2F90 #BA9E2F #2FBA59 #2F4BBA
square
#BA2F90 #BA9E2F #2FBA59 #2F4BBA
split-complementary
#BA2F90 #4BBA2F #2FBA9E
monochromatic
#581644 #89236A #BA2F90 #D353AD #E084C4

Accessibility & contrast

On white

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

On black

3.90
#BA2F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2F90#FFFFFF#000000##FFFFFF
##BA2F901.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C93
Deuteranopia (green-blind)
#69738D
Tritanopia (blue-blind)
#C6305C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2f90;
/* rgb */ color: rgb(186, 47, 144);
/* oklch */ color: oklch(55.2% 0.199 342.9);
Tailwind
colors: {
  custom: {
    50: '#d375b0',
    500: '#ba2f90',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f90;
$custom-light: #d375b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f90",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 318.129,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.19916,
    "h": 342.9
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#BA2F90
secondary
#7CC993
accent
#E37545
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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