#BA2254#BA2254

#BA2254 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.187 H 8.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA2254
RGBrgb(186, 34, 84)
HSLhsl(340, 69%, 43%)
HSVhsv(340, 82%, 73%)
CMYKcmyk(0%, 81.7%, 54.8%, 27.1%)
CIE-LABlab(41.57, 60.79, 10.36)
CIE-LCHlch(41.57, 61.67, 9.67°)
OKLaboklab(52.05% 0.1851 0.0264)
OKLCHoklch(52.05% 0.187 8.1)
XYZxyz(22.4241, 12.2265, 9.5650)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2254 #22BA88
analogous
#BA22A0 #BA2254 #BA3C22
triadic
#BA2254 #54BA22 #2254BA
tetradic
#BA2254 #A0BA22 #22BA88 #3C22BA
square
#BA2254 #A0BA22 #22BA88 #3C22BA
split-complementary
#BA2254 #22BA3C #22A0BA
monochromatic
#530F25 #86193D #BA2254 #DC3E72 #E57197

Accessibility & contrast

On white

6.10
#BA2254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#BA2254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2254
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2254#FFFFFF#000000##FFFFFF
##BA22541.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F55
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#CB0039
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2254;
/* rgb */ color: rgb(186, 34, 84);
/* oklch */ color: oklch(52.1% 0.187 8.1);
Tailwind
colors: {
  custom: {
    50: '#d66e83',
    500: '#ba2254',
    950: '#000000',
  },
}
SCSS
$custom: #ba2254;
$custom-light: #d66e83;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2254",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 340.263,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.18701,
    "h": 8.1
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#BA2254
secondary
#6CCCAC
accent
#ECB23C
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2254

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

Preview Lab → · Contrast checker → · Palette generator →

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