#BA254F#BA254F

#BA254F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.184 H 10.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA254F
RGBrgb(186, 37, 79)
HSLhsl(343, 67%, 44%)
HSVhsv(343, 80%, 73%)
CMYKcmyk(0%, 80.1%, 57.5%, 27.1%)
CIE-LABlab(41.74, 59.64, 13.73)
CIE-LCHlch(41.74, 61.20, 12.97°)
OKLaboklab(52.13% 0.1806 0.0344)
OKLCHoklch(52.13% 0.184 10.8)
XYZxyz(22.3248, 12.3300, 8.6000)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA254F #25BA90
analogous
#BA2599 #BA254F #BA4525
triadic
#BA254F #4FBA25 #254FBA
tetradic
#BA254F #99BA25 #25BA90 #4525BA
square
#BA254F #99BA25 #25BA90 #4525BA
split-complementary
#BA254F #25BA45 #2599BA
monochromatic
#541124 #871B39 #BA254F #DA436D #E47695

Accessibility & contrast

On white

6.06
#BA254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA254F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA254F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA254F#FFFFFF#000000##FFFFFF
##BA254F1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba254f;
/* rgb */ color: rgb(186, 37, 79);
/* oklch */ color: oklch(52.1% 0.184 10.8);
Tailwind
colors: {
  custom: {
    50: '#d66f80',
    500: '#ba254f',
    950: '#000000',
  },
}
SCSS
$custom: #ba254f;
$custom-light: #d66f80;
$custom-dark: #000000;
JSON
{
  "hex": "#ba254f",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 343.087,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.18388,
    "h": 10.8
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#BA254F
secondary
#70CBB1
accent
#EAB93E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA254F

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

Preview Lab → · Contrast checker → · Palette generator →

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