#BA258D#BA258D

#BA258D is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.3% C 0.207 H 343.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA258D
RGBrgb(186, 37, 141)
HSLhsl(318, 67%, 44%)
HSVhsv(318, 80%, 73%)
CMYKcmyk(0%, 80.1%, 24.2%, 27.1%)
CIE-LABlab(43.78, 65.72, -21.77)
CIE-LCHlch(43.78, 69.23, 341.67°)
OKLaboklab(54.29% 0.1988 -0.0582)
OKLCHoklch(54.29% 0.207 343.7)
XYZxyz(25.7200, 13.6882, 26.4817)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA258D #25BA52
analogous
#9C25BA #BA258D #BA2542
triadic
#BA258D #8DBA25 #258DBA
tetradic
#BA258D #BA9C25 #25BA52 #2542BA
square
#BA258D #BA9C25 #25BA52 #2542BA
split-complementary
#BA258D #42BA25 #25BA9C
monochromatic
#541140 #871B66 #BA258D #DA43AC #E476C2

Accessibility & contrast

On white

5.62
#BA258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA258D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA258D#FFFFFF#000000##FFFFFF
##BA258D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#C62457
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba258d;
/* rgb */ color: rgb(186, 37, 141);
/* oklch */ color: oklch(54.3% 0.207 343.7);
Tailwind
colors: {
  custom: {
    50: '#d371ae',
    500: '#ba258d',
    950: '#000000',
  },
}
SCSS
$custom: #ba258d;
$custom-light: #d371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba258d",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 318.121,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.20715,
    "h": 343.7
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#BA258D
secondary
#70CB8B
accent
#EA723E
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA258D

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

Preview Lab → · Contrast checker → · Palette generator →

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