#BA2398#BA2398

#BA2398 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 339.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA2398
RGBrgb(186, 35, 152)
HSLhsl(314, 68%, 43%)
HSVhsv(314, 81%, 73%)
CMYKcmyk(0%, 81.2%, 18.3%, 27.1%)
CIE-LABlab(44.10, 67.65, -27.93)
CIE-LCHlch(44.10, 73.19, 337.57°)
OKLaboklab(54.69% 0.2018 -0.0756)
OKLCHoklch(54.69% 0.216 339.5)
XYZxyz(26.5190, 13.9109, 30.9881)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2398 #23BA45
analogous
#9023BA #BA2398 #BA234C
triadic
#BA2398 #98BA23 #2398BA
tetradic
#BA2398 #BA9023 #23BA45 #234CBA
square
#BA2398 #BA9023 #23BA45 #234CBA
split-complementary
#BA2398 #4CBA23 #23BA90
monochromatic
#531044 #86196E #BA2398 #DB3FB8 #E573CB

Accessibility & contrast

On white

5.55
#BA2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA2398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2398
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2398#FFFFFF#000000##FFFFFF
##BA23981.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#627195
Tritanopia (blue-blind)
#C52A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2398;
/* rgb */ color: rgb(186, 35, 152);
/* oklch */ color: oklch(54.7% 0.216 339.5);
Tailwind
colors: {
  custom: {
    50: '#d371b6',
    500: '#ba2398',
    950: '#000000',
  },
}
SCSS
$custom: #ba2398;
$custom-light: #d371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2398",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 313.51,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.21552,
    "h": 339.5
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#BA2398
secondary
#6DCC82
accent
#EB643D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2398

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

Preview Lab → · Contrast checker → · Palette generator →

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