#BA3068#BA3068

#BA3068 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.179 H 0.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3068
RGBrgb(186, 48, 104)
HSLhsl(336, 59%, 46%)
HSVhsv(336, 74%, 73%)
CMYKcmyk(0%, 74.2%, 44.1%, 27.1%)
CIE-LABlab(43.59, 58.33, 0.71)
CIE-LCHlch(43.59, 58.34, 0.70°)
OKLaboklab(53.71% 0.179 0.0025)
OKLCHoklch(53.71% 0.179 0.8)
XYZxyz(23.8072, 13.5556, 14.4568)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3068 #30BA82
analogous
#BA30AD #BA3068 #BA3D30
triadic
#BA3068 #68BA30 #3068BA
tetradic
#BA3068 #ADBA30 #30BA82 #3D30BA
square
#BA3068 #ADBA30 #30BA82 #3D30BA
split-complementary
#BA3068 #30BA3D #30ADBA
monochromatic
#591732 #89234D #BA3068 #D35488 #DF85AA

Accessibility & contrast

On white

5.66
#BA3068 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BA3068 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3068
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3068#FFFFFF#000000##FFFFFF
##BA30681.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5669
Deuteranopia (green-blind)
#747165
Tritanopia (blue-blind)
#CA1948
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3068;
/* rgb */ color: rgb(186, 48, 104);
/* oklch */ color: oklch(53.7% 0.179 0.8);
Tailwind
colors: {
  custom: {
    50: '#d47493',
    500: '#ba3068',
    950: '#000000',
  },
}
SCSS
$custom: #ba3068;
$custom-light: #d47493;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3068",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 104
  },
  "hsl": {
    "h": 335.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.17897,
    "h": 0.8
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#BA3068
secondary
#7DC9AA
accent
#E2A346
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA3068

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

Preview Lab → · Contrast checker → · Palette generator →

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