#BA2F94#BA2F94

#BA2F94 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.3% C 0.202 H 341.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA2F94
RGBrgb(186, 47, 148)
HSLhsl(316, 60%, 46%)
HSVhsv(316, 75%, 73%)
CMYKcmyk(0%, 74.7%, 20.4%, 27.1%)
CIE-LABlab(45.10, 63.74, -23.97)
CIE-LCHlch(45.10, 68.10, 339.39°)
OKLaboklab(55.35% 0.191 -0.0645)
OKLCHoklch(55.35% 0.202 341.3)
XYZxyz(26.6124, 14.6130, 29.4303)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F94 #2FBA55
analogous
#9A2FBA #BA2F94 #BA2F4E
triadic
#BA2F94 #94BA2F #2F94BA
tetradic
#BA2F94 #BA9A2F #2FBA55 #2F4EBA
square
#BA2F94 #BA9A2F #2FBA55 #2F4EBA
split-complementary
#BA2F94 #4EBA2F #2FBA9A
monochromatic
#581646 #89236D #BA2F94 #D353B0 #E084C7

Accessibility & contrast

On white

5.35
#BA2F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA2F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F94
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F94#FFFFFF#000000##FFFFFF
##BA2F941.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C97
Deuteranopia (green-blind)
#687391
Tritanopia (blue-blind)
#C5325E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2f94;
/* rgb */ color: rgb(186, 47, 148);
/* oklch */ color: oklch(55.3% 0.202 341.3);
Tailwind
colors: {
  custom: {
    50: '#d375b3',
    500: '#ba2f94',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f94;
$custom-light: #d375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f94",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 316.403,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.20163,
    "h": 341.3
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#BA2F94
secondary
#7CC991
accent
#E37045
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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