#BA2274#BA2274

#BA2274 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.1% C 0.197 H 353.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA2274
RGBrgb(186, 34, 116)
HSLhsl(328, 69%, 43%)
HSVhsv(328, 82%, 73%)
CMYKcmyk(0%, 81.7%, 37.6%, 27.1%)
CIE-LABlab(42.53, 63.63, -8.31)
CIE-LCHlch(42.53, 64.17, 352.56°)
OKLaboklab(53.06% 0.1958 -0.0212)
OKLCHoklch(53.06% 0.197 353.8)
XYZxyz(23.9758, 12.8472, 17.7368)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2274 #22BA68
analogous
#B422BA #BA2274 #BA2228
triadic
#BA2274 #74BA22 #2274BA
tetradic
#BA2274 #BAB422 #22BA68 #2228BA
square
#BA2274 #BAB422 #22BA68 #2228BA
split-complementary
#BA2274 #28BA22 #22BAB4
monochromatic
#530F33 #861954 #BA2274 #DC3E93 #E571B0

Accessibility & contrast

On white

5.88
#BA2274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2274
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2274#FFFFFF#000000##FFFFFF
##BA22741.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#6D6E71
Tritanopia (blue-blind)
#C90749
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2274;
/* rgb */ color: rgb(186, 34, 116);
/* oklch */ color: oklch(53.1% 0.197 353.8);
Tailwind
colors: {
  custom: {
    50: '#d46f9c',
    500: '#ba2274',
    950: '#000000',
  },
}
SCSS
$custom: #ba2274;
$custom-light: #d46f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2274",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 327.632,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.19689,
    "h": 353.8
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#BA2274
secondary
#6CCC98
accent
#EC8D3C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2274

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

Preview Lab → · Contrast checker → · Palette generator →

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