#BA258C#BA258C

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

Color values

HEX#BA258C
RGBrgb(186, 37, 140)
HSLhsl(319, 67%, 44%)
HSVhsv(319, 80%, 73%)
CMYKcmyk(0%, 80.1%, 24.7%, 27.1%)
CIE-LABlab(43.74, 65.60, -21.23)
CIE-LCHlch(43.74, 68.95, 342.07°)
OKLaboklab(54.25% 0.1986 -0.0567)
OKLCHoklch(54.25% 0.207 344.1)
XYZxyz(25.6460, 13.6585, 26.0916)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA258C #25BA53
analogous
#9D25BA #BA258C #BA2542
triadic
#BA258C #8CBA25 #258CBA
tetradic
#BA258C #BA9D25 #25BA53 #2542BA
square
#BA258C #BA9D25 #25BA53 #2542BA
split-complementary
#BA258C #42BA25 #25BA9D
monochromatic
#54113F #871B66 #BA258C #DA43AB #E476C2

Accessibility & contrast

On white

5.63
#BA258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA258C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA258C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA258C#FFFFFF#000000##FFFFFF
##BA258C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#677089
Tritanopia (blue-blind)
#C72457
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba258c;
/* rgb */ color: rgb(186, 37, 140);
/* oklch */ color: oklch(54.2% 0.207 344.1);
Tailwind
colors: {
  custom: {
    50: '#d371ad',
    500: '#ba258c',
    950: '#000000',
  },
}
SCSS
$custom: #ba258c;
$custom-light: #d371ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba258c",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 318.523,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.20658,
    "h": 344.1
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#BA258C
secondary
#70CB8C
accent
#EA733E
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA258C

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

Preview Lab → · Contrast checker → · Palette generator →

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