#BA2358#BA2358

#BA2358 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.187 H 6.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA2358
RGBrgb(186, 35, 88)
HSLhsl(339, 68%, 43%)
HSVhsv(339, 81%, 73%)
CMYKcmyk(0%, 81.2%, 52.7%, 27.1%)
CIE-LABlab(41.77, 60.84, 8.10)
CIE-LCHlch(41.77, 61.37, 7.59°)
OKLaboklab(52.22% 0.1858 0.021)
OKLCHoklch(52.22% 0.187 6.4)
XYZxyz(22.6143, 12.3490, 10.4234)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2358 #23BA85
analogous
#BA23A3 #BA2358 #BA3923
triadic
#BA2358 #58BA23 #2358BA
tetradic
#BA2358 #A3BA23 #23BA85 #3923BA
square
#BA2358 #A3BA23 #23BA85 #3923BA
split-complementary
#BA2358 #23BA39 #23A3BA
monochromatic
#531027 #861940 #BA2358 #DB3F76 #E5739B

Accessibility & contrast

On white

6.05
#BA2358 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA2358 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2358
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2358#FFFFFF#000000##FFFFFF
##BA23581.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2358;
/* rgb */ color: rgb(186, 35, 88);
/* oklch */ color: oklch(52.2% 0.187 6.4);
Tailwind
colors: {
  custom: {
    50: '#d56f86',
    500: '#ba2358',
    950: '#000000',
  },
}
SCSS
$custom: #ba2358;
$custom-light: #d56f86;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2358",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 338.94,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.18698,
    "h": 6.4
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#BA2358
secondary
#6DCCAA
accent
#EBAE3D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2358

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

Preview Lab → · Contrast checker → · Palette generator →

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