#BA308E#BA308E

#BA308E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.197 H 343.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA308E
RGBrgb(186, 48, 142)
HSLhsl(319, 59%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 74.2%, 23.7%, 27.1%)
CIE-LABlab(44.95, 62.63, -20.57)
CIE-LCHlch(44.95, 65.92, 341.82°)
OKLaboklab(55.16% 0.1891 -0.0549)
OKLCHoklch(55.16% 0.197 343.8)
XYZxyz(26.1901, 14.5088, 27.0071)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA308E #30BA5C
analogous
#A130BA #BA308E #BA3049
triadic
#BA308E #8EBA30 #308EBA
tetradic
#BA308E #BAA130 #30BA5C #3049BA
square
#BA308E #BAA130 #30BA5C #3049BA
split-complementary
#BA308E #49BA30 #30BAA1
monochromatic
#591744 #892369 #BA308E #D354AB #DF85C3

Accessibility & contrast

On white

5.38
#BA308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA308E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA308E#FFFFFF#000000##FFFFFF
##BA308E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#C62F5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba308e;
/* rgb */ color: rgb(186, 48, 142);
/* oklch */ color: oklch(55.2% 0.197 343.8);
Tailwind
colors: {
  custom: {
    50: '#d376af',
    500: '#ba308e',
    950: '#000000',
  },
}
SCSS
$custom: #ba308e;
$custom-light: #d376af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba308e",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 319.13,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.19687,
    "h": 343.8
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#BA308E
secondary
#7DC995
accent
#E27846
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA308E

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

Preview Lab → · Contrast checker → · Palette generator →

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