#BA234D#BA234D

#BA234D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.185 H 11.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA234D
RGBrgb(186, 35, 77)
HSLhsl(343, 68%, 43%)
HSVhsv(343, 81%, 73%)
CMYKcmyk(0%, 81.2%, 58.6%, 27.1%)
CIE-LABlab(41.50, 60.04, 14.67)
CIE-LCHlch(41.50, 61.81, 13.73°)
OKLaboklab(51.94% 0.1816 0.0365)
OKLCHoklch(51.94% 0.185 11.4)
XYZxyz(22.1926, 12.1803, 8.2022)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA234D #23BA90
analogous
#BA2398 #BA234D #BA4423
triadic
#BA234D #4DBA23 #234DBA
tetradic
#BA234D #98BA23 #23BA90 #4423BA
square
#BA234D #98BA23 #23BA90 #4423BA
split-complementary
#BA234D #23BA44 #2398BA
monochromatic
#531022 #861938 #BA234D #DB3F6B #E57392

Accessibility & contrast

On white

6.11
#BA234D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#BA234D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA234D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA234D#FFFFFF#000000##FFFFFF
##BA234D1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4E
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba234d;
/* rgb */ color: rgb(186, 35, 77);
/* oklch */ color: oklch(51.9% 0.185 11.4);
Tailwind
colors: {
  custom: {
    50: '#d66f7e',
    500: '#ba234d',
    950: '#000000',
  },
}
SCSS
$custom: #ba234d;
$custom-light: #d66f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba234d",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 343.311,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.18524,
    "h": 11.4
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#BA234D
secondary
#6DCCB1
accent
#EBBB3D
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA234D

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

Preview Lab → · Contrast checker → · Palette generator →

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