#BA2F6B#BA2F6B

#BA2F6B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.181 H 359.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA2F6B
RGBrgb(186, 47, 107)
HSLhsl(334, 60%, 46%)
HSVhsv(334, 75%, 73%)
CMYKcmyk(0%, 74.7%, 42.5%, 27.1%)
CIE-LABlab(43.56, 58.96, -1.20)
CIE-LCHlch(43.56, 58.97, 358.84°)
OKLaboklab(53.72% 0.181 -0.0024)
OKLCHoklch(53.72% 0.181 359.2)
XYZxyz(23.9218, 13.5367, 15.2602)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F6B #2FBA7E
analogous
#BA2FB0 #BA2F6B #BA382F
triadic
#BA2F6B #6BBA2F #2F6BBA
tetradic
#BA2F6B #B0BA2F #2FBA7E #382FBA
square
#BA2F6B #B0BA2F #2FBA7E #382FBA
split-complementary
#BA2F6B #2FBA38 #2FB0BA
monochromatic
#581633 #89234F #BA2F6B #D3538A #E084AB

Accessibility & contrast

On white

5.67
#BA2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2F6B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F6B#FFFFFF#000000##FFFFFF
##BA2F6B1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#737168
Tritanopia (blue-blind)
#CA1949
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2f6b;
/* rgb */ color: rgb(186, 47, 107);
/* oklch */ color: oklch(53.7% 0.181 359.2);
Tailwind
colors: {
  custom: {
    50: '#d47495',
    500: '#ba2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f6b;
$custom-light: #d47495;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f6b",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 334.101,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.18104,
    "h": 359.2
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#BA2F6B
secondary
#7CC9A8
accent
#E39F45
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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