#BA3062#BA3062

#BA3062 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.177 H 3.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3062
RGBrgb(186, 48, 98)
HSLhsl(338, 59%, 46%)
HSVhsv(338, 74%, 73%)
CMYKcmyk(0%, 74.2%, 47.3%, 27.1%)
CIE-LABlab(43.42, 57.77, 4.19)
CIE-LCHlch(43.42, 57.93, 4.15°)
OKLaboklab(53.53% 0.1769 0.0113)
OKLCHoklch(53.53% 0.177 3.7)
XYZxyz(23.5132, 13.4380, 12.9085)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3062 #30BA88
analogous
#BA30A7 #BA3062 #BA4330
triadic
#BA3062 #62BA30 #3062BA
tetradic
#BA3062 #A7BA30 #30BA88 #4330BA
square
#BA3062 #A7BA30 #30BA88 #4330BA
split-complementary
#BA3062 #30BA43 #30A7BA
monochromatic
#59172F #892348 #BA3062 #D35482 #DF85A6

Accessibility & contrast

On white

5.70
#BA3062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BA3062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3062
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3062#FFFFFF#000000##FFFFFF
##BA30621.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505563
Deuteranopia (green-blind)
#75705F
Tritanopia (blue-blind)
#CA1445
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3062;
/* rgb */ color: rgb(186, 48, 98);
/* oklch */ color: oklch(53.5% 0.177 3.7);
Tailwind
colors: {
  custom: {
    50: '#d4748e',
    500: '#ba3062',
    950: '#000000',
  },
}
SCSS
$custom: #ba3062;
$custom-light: #d4748e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3062",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 98
  },
  "hsl": {
    "h": 338.261,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53527,
    "c": 0.17722,
    "h": 3.7
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#BA3062
secondary
#7DC9AD
accent
#E2A946
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3062

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

Preview Lab → · Contrast checker → · Palette generator →

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