#BA274E#BA274E

#BA274E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.182 H 11.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA274E
RGBrgb(186, 39, 78)
HSLhsl(344, 65%, 44%)
HSVhsv(344, 79%, 73%)
CMYKcmyk(0%, 79%, 58.1%, 27.1%)
CIE-LABlab(41.91, 59.00, 14.60)
CIE-LCHlch(41.91, 60.78, 13.90°)
OKLaboklab(52.25% 0.1784 0.0364)
OKLCHoklch(52.25% 0.182 11.5)
XYZxyz(22.3526, 12.4435, 8.4311)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA274E #27BA93
analogous
#BA2798 #BA274E #BA4A27
triadic
#BA274E #4EBA27 #274EBA
tetradic
#BA274E #98BA27 #27BA93 #4A27BA
square
#BA274E #98BA27 #27BA93 #4A27BA
split-complementary
#BA274E #27BA4A #2798BA
monochromatic
#551224 #871C39 #BA274E #D8466D #E37995

Accessibility & contrast

On white

6.02
#BA274E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#BA274E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA274E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA274E#FFFFFF#000000##FFFFFF
##BA274E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#766E4A
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba274e;
/* rgb */ color: rgb(186, 39, 78);
/* oklch */ color: oklch(52.3% 0.182 11.5);
Tailwind
colors: {
  custom: {
    50: '#d6707f',
    500: '#ba274e',
    950: '#000000',
  },
}
SCSS
$custom: #ba274e;
$custom-light: #d6707f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba274e",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 344.082,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.18211,
    "h": 11.5
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#BA274E
secondary
#72CBB3
accent
#E8BC40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA274E

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

Preview Lab → · Contrast checker → · Palette generator →

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