#BA246F#BA246F

#BA246F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.193 H 356.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA246F
RGBrgb(186, 36, 111)
HSLhsl(330, 68%, 44%)
HSVhsv(330, 81%, 73%)
CMYKcmyk(0%, 80.6%, 40.3%, 27.1%)
CIE-LABlab(42.54, 62.61, -5.19)
CIE-LCHlch(42.54, 62.83, 355.26°)
OKLaboklab(53.01% 0.1927 -0.0129)
OKLCHoklch(53.01% 0.193 356.2)
XYZxyz(23.7516, 12.8517, 16.2657)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA246F #24BA6F
analogous
#BA24BA #BA246F #BA2424
triadic
#BA246F #6FBA24 #246FBA
tetradic
#BA246F #BABA24 #24BA6F #2424BA
square
#BA246F #BABA24 #24BA6F #2424BA
split-complementary
#BA246F #24BA24 #24BABA
monochromatic
#531032 #871A50 #BA246F #DA418E #E474AC

Accessibility & contrast

On white

5.88
#BA246F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA246F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA246F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA246F#FFFFFF#000000##FFFFFF
##BA246F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465371
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C90547
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba246f;
/* rgb */ color: rgb(186, 36, 111);
/* oklch */ color: oklch(53.0% 0.193 356.2);
Tailwind
colors: {
  custom: {
    50: '#d47098',
    500: '#ba246f',
    950: '#000000',
  },
}
SCSS
$custom: #ba246f;
$custom-light: #d47098;
$custom-dark: #000000;
JSON
{
  "hex": "#ba246f",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 330,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.19313,
    "h": 356.2
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#BA246F
secondary
#6ECB9D
accent
#EA943D
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA246F

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

Preview Lab → · Contrast checker → · Palette generator →

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