#BA254E#BA254E

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

Color values

HEX#BA254E
RGBrgb(186, 37, 78)
HSLhsl(343, 67%, 44%)
HSVhsv(343, 80%, 73%)
CMYKcmyk(0%, 80.1%, 58.1%, 27.1%)
CIE-LABlab(41.71, 59.57, 14.33)
CIE-LCHlch(41.71, 61.27, 13.53°)
OKLaboklab(52.11% 0.1803 0.0357)
OKLCHoklch(52.11% 0.184 11.2)
XYZxyz(22.2887, 12.3156, 8.4098)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA254E #25BA91
analogous
#BA2598 #BA254E #BA4625
triadic
#BA254E #4EBA25 #254EBA
tetradic
#BA254E #98BA25 #25BA91 #4625BA
square
#BA254E #98BA25 #25BA91 #4625BA
split-complementary
#BA254E #25BA46 #2598BA
monochromatic
#541123 #871B39 #BA254E #DA436C #E47694

Accessibility & contrast

On white

6.07
#BA254E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#BA254E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA254E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA254E#FFFFFF#000000##FFFFFF
##BA254E1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba254e;
/* rgb */ color: rgb(186, 37, 78);
/* oklch */ color: oklch(52.1% 0.184 11.2);
Tailwind
colors: {
  custom: {
    50: '#d66f7f',
    500: '#ba254e',
    950: '#000000',
  },
}
SCSS
$custom: #ba254e;
$custom-light: #d66f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba254e",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 343.49,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.18377,
    "h": 11.2
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#BA254E
secondary
#70CBB2
accent
#EABA3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA254E

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

Preview Lab → · Contrast checker → · Palette generator →

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