#BA268F#BA268F

#BA268F is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 342.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA268F
RGBrgb(186, 38, 143)
HSLhsl(317, 66%, 44%)
HSVhsv(317, 80%, 73%)
CMYKcmyk(0%, 79.6%, 23.1%, 27.1%)
CIE-LABlab(43.96, 65.71, -22.71)
CIE-LCHlch(43.96, 69.53, 340.94°)
OKLaboklab(54.45% 0.1983 -0.0609)
OKLCHoklch(54.45% 0.207 342.9)
XYZxyz(25.9017, 13.8113, 27.2831)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA268F #26BA51
analogous
#9B26BA #BA268F #BA2645
triadic
#BA268F #8FBA26 #268FBA
tetradic
#BA268F #BA9B26 #26BA51 #2645BA
square
#BA268F #BA9B26 #26BA51 #2645BA
split-complementary
#BA268F #45BA26 #26BA9B
monochromatic
#541141 #871C68 #BA268F #D944AE #E377C4

Accessibility & contrast

On white

5.58
#BA268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA268F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA268F#FFFFFF#000000##FFFFFF
##BA268F1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385892
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#C62759
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba268f;
/* rgb */ color: rgb(186, 38, 143);
/* oklch */ color: oklch(54.4% 0.207 342.9);
Tailwind
colors: {
  custom: {
    50: '#d372b0',
    500: '#ba268f',
    950: '#000000',
  },
}
SCSS
$custom: #ba268f;
$custom-light: #d372b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba268f",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 317.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.20744,
    "h": 342.9
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#BA268F
secondary
#71CB8B
accent
#E9703F
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA268F

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

Preview Lab → · Contrast checker → · Palette generator →

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