#B4197E#B4197E

#B4197E is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 347.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B4197E
RGBrgb(180, 25, 126)
HSLhsl(321, 76%, 40%)
HSVhsv(321, 86%, 71%)
CMYKcmyk(0%, 86.1%, 30%, 29.4%)
CIE-LABlab(41.07, 65.31, -16.84)
CIE-LCHlch(41.07, 67.44, 345.54°)
OKLaboklab(51.92% 0.1997 -0.0445)
OKLCHoklch(51.92% 0.205 347.4)
XYZxyz(22.9372, 11.9077, 20.8251)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4197E #19B44F
analogous
#9C19B4 #B4197E #B41931
triadic
#B4197E #7EB419 #197EB4
tetradic
#B4197E #B49C19 #19B44F #1931B4
square
#B4197E #B49C19 #19B44F #1931B4
split-complementary
#B4197E #31B419 #19B49C
monochromatic
#490A33 #7E1258 #B4197E #E129A1 #E95FB9

Accessibility & contrast

On white

6.21
#B4197E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B4197E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4197E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4197E#FFFFFF#000000##FFFFFF
##B4197E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#C10D4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4197e;
/* rgb */ color: rgb(180, 25, 126);
/* oklch */ color: oklch(51.9% 0.205 347.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ca3',
    500: '#b4197e',
    950: '#000000',
  },
}
SCSS
$custom: #b4197e;
$custom-light: #cf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4197e",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 320.903,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.20456,
    "h": 347.4
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#B4197E
secondary
#5CCD83
accent
#F27736
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4197E

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

Preview Lab → · Contrast checker → · Palette generator →

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