#BA258F#BA258F

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

Color values

HEX#BA258F
RGBrgb(186, 37, 143)
HSLhsl(317, 67%, 44%)
HSVhsv(317, 80%, 73%)
CMYKcmyk(0%, 80.1%, 23.1%, 27.1%)
CIE-LABlab(43.87, 65.98, -22.85)
CIE-LCHlch(43.87, 69.82, 340.90°)
OKLaboklab(54.38% 0.1991 -0.0613)
OKLCHoklch(54.38% 0.208 342.9)
XYZxyz(25.8702, 13.7482, 27.2725)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA258F #25BA50
analogous
#9A25BA #BA258F #BA2545
triadic
#BA258F #8FBA25 #258FBA
tetradic
#BA258F #BA9A25 #25BA50 #2545BA
square
#BA258F #BA9A25 #25BA50 #2545BA
split-complementary
#BA258F #45BA25 #25BA9A
monochromatic
#541141 #871B68 #BA258F #DA43AE #E476C4

Accessibility & contrast

On white

5.60
#BA258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA258F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA258F#FFFFFF#000000##FFFFFF
##BA258F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#C62658
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba258f;
/* rgb */ color: rgb(186, 37, 143);
/* oklch */ color: oklch(54.4% 0.208 342.9);
Tailwind
colors: {
  custom: {
    50: '#d371b0',
    500: '#ba258f',
    950: '#000000',
  },
}
SCSS
$custom: #ba258f;
$custom-light: #d371b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba258f",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 317.315,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.20833,
    "h": 342.9
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#BA258F
secondary
#70CB8A
accent
#EA703E
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA258F

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

Preview Lab → · Contrast checker → · Palette generator →

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