#BA275E#BA275E

#BA275E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 4.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA275E
RGBrgb(186, 39, 94)
HSLhsl(338, 65%, 44%)
HSVhsv(338, 79%, 73%)
CMYKcmyk(0%, 79%, 49.5%, 27.1%)
CIE-LABlab(42.31, 60.23, 5.11)
CIE-LCHlch(42.31, 60.45, 4.84°)
OKLaboklab(52.68% 0.1845 0.0136)
OKLCHoklch(52.68% 0.185 4.2)
XYZxyz(22.9976, 12.7015, 11.8281)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA275E #27BA83
analogous
#BA27A8 #BA275E #BA3A27
triadic
#BA275E #5EBA27 #275EBA
tetradic
#BA275E #A8BA27 #27BA83 #3A27BA
square
#BA275E #A8BA27 #27BA83 #3A27BA
split-complementary
#BA275E #27BA3A #27A8BA
monochromatic
#55122B #871C44 #BA275E #D8467D #E379A0

Accessibility & contrast

On white

5.93
#BA275E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA275E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA275E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA275E#FFFFFF#000000##FFFFFF
##BA275E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba275e;
/* rgb */ color: rgb(186, 39, 94);
/* oklch */ color: oklch(52.7% 0.185 4.2);
Tailwind
colors: {
  custom: {
    50: '#d5718b',
    500: '#ba275e',
    950: '#000000',
  },
}
SCSS
$custom: #ba275e;
$custom-light: #d5718b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba275e",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 337.551,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.18496,
    "h": 4.2
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#BA275E
secondary
#72CBAA
accent
#E8A940
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA275E

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

Preview Lab → · Contrast checker → · Palette generator →

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