#BA3058#BA3058

#BA3058 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.175 H 8.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA3058
RGBrgb(186, 48, 88)
HSLhsl(343, 59%, 46%)
HSVhsv(343, 74%, 73%)
CMYKcmyk(0%, 74.2%, 52.7%, 27.1%)
CIE-LABlab(43.15, 56.92, 10.06)
CIE-LCHlch(43.15, 57.80, 10.02°)
OKLaboklab(53.25% 0.1732 0.0258)
OKLCHoklch(53.25% 0.175 8.5)
XYZxyz(23.0702, 13.2608, 10.5754)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3058 #30BA92
analogous
#BA309D #BA3058 #BA4D30
triadic
#BA3058 #58BA30 #3058BA
tetradic
#BA3058 #9DBA30 #30BA92 #4D30BA
square
#BA3058 #9DBA30 #30BA92 #4D30BA
split-complementary
#BA3058 #30BA4D #309DBA
monochromatic
#59172A #892341 #BA3058 #D35479 #DF859F

Accessibility & contrast

On white

5.75
#BA3058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#BA3058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3058
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3058#FFFFFF#000000##FFFFFF
##BA30581.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535459
Deuteranopia (green-blind)
#777055
Tritanopia (blue-blind)
#CB0B41
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3058;
/* rgb */ color: rgb(186, 48, 88);
/* oklch */ color: oklch(53.2% 0.175 8.5);
Tailwind
colors: {
  custom: {
    50: '#d57486',
    500: '#ba3058',
    950: '#000000',
  },
}
SCSS
$custom: #ba3058;
$custom-light: #d57486;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3058",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 342.609,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.17508,
    "h": 8.5
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#BA3058
secondary
#7DC9B3
accent
#E2B546
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA3058

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

Preview Lab → · Contrast checker → · Palette generator →

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