#BA2F93#BA2F93

#BA2F93 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.3% C 0.201 H 341.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA2F93
RGBrgb(186, 47, 147)
HSLhsl(317, 60%, 46%)
HSVhsv(317, 75%, 73%)
CMYKcmyk(0%, 74.7%, 21%, 27.1%)
CIE-LABlab(45.06, 63.61, -23.43)
CIE-LCHlch(45.06, 67.79, 339.78°)
OKLaboklab(55.3% 0.1909 -0.063)
OKLCHoklch(55.3% 0.201 341.7)
XYZxyz(26.5336, 14.5814, 29.0152)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F93 #2FBA56
analogous
#9C2FBA #BA2F93 #BA2F4D
triadic
#BA2F93 #93BA2F #2F93BA
tetradic
#BA2F93 #BA9C2F #2FBA56 #2F4DBA
square
#BA2F93 #BA9C2F #2FBA56 #2F4DBA
split-complementary
#BA2F93 #4DBA2F #2FBA9C
monochromatic
#581646 #89236C #BA2F93 #D353AF #E084C6

Accessibility & contrast

On white

5.36
#BA2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA2F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F93
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F93#FFFFFF#000000##FFFFFF
##BA2F931.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C96
Deuteranopia (green-blind)
#687390
Tritanopia (blue-blind)
#C6315D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2f93;
/* rgb */ color: rgb(186, 47, 147);
/* oklch */ color: oklch(55.3% 0.201 341.7);
Tailwind
colors: {
  custom: {
    50: '#d375b3',
    500: '#ba2f93',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f93;
$custom-light: #d375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f93",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 316.835,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.201,
    "h": 341.7
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#BA2F93
secondary
#7CC991
accent
#E37145
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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