#BA274F#BA274F

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

Color values

HEX#BA274F
RGBrgb(186, 39, 79)
HSLhsl(344, 65%, 44%)
HSVhsv(344, 79%, 73%)
CMYKcmyk(0%, 79%, 57.5%, 27.1%)
CIE-LABlab(41.93, 59.07, 14.01)
CIE-LCHlch(41.93, 60.71, 13.34°)
OKLaboklab(52.28% 0.1788 0.035)
OKLCHoklch(52.28% 0.182 11.1)
XYZxyz(22.3887, 12.4579, 8.6213)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA274F #27BA92
analogous
#BA2799 #BA274F #BA4827
triadic
#BA274F #4FBA27 #274FBA
tetradic
#BA274F #99BA27 #27BA92 #4827BA
square
#BA274F #99BA27 #27BA92 #4827BA
split-complementary
#BA274F #27BA48 #2799BA
monochromatic
#551224 #871C3A #BA274F #D8466E #E37995

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA274F#FFFFFF#000000##FFFFFF
##BA274F1.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)
#505050
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba274f;
/* rgb */ color: rgb(186, 39, 79);
/* oklch */ color: oklch(52.3% 0.182 11.1);
Tailwind
colors: {
  custom: {
    50: '#d67080',
    500: '#ba274f',
    950: '#000000',
  },
}
SCSS
$custom: #ba274f;
$custom-light: #d67080;
$custom-dark: #000000;
JSON
{
  "hex": "#ba274f",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 343.673,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.18221,
    "h": 11.1
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA274F

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

Preview Lab → · Contrast checker → · Palette generator →

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