#B4197F#B4197F

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

Color values

HEX#B4197F
RGBrgb(180, 25, 127)
HSLhsl(321, 76%, 40%)
HSVhsv(321, 86%, 71%)
CMYKcmyk(0%, 86.1%, 29.4%, 29.4%)
CIE-LABlab(41.11, 65.42, -17.39)
CIE-LCHlch(41.11, 67.69, 345.11°)
OKLaboklab(51.97% 0.1999 -0.046)
OKLCHoklch(51.97% 0.205 347)
XYZxyz(23.0020, 11.9336, 21.1667)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4197F #19B44E
analogous
#9B19B4 #B4197F #B41932
triadic
#B4197F #7FB419 #197FB4
tetradic
#B4197F #B49B19 #19B44E #1932B4
square
#B4197F #B49B19 #19B44E #1932B4
split-complementary
#B4197F #32B419 #19B49B
monochromatic
#490A33 #7E1259 #B4197F #E129A2 #E95FBA

Accessibility & contrast

On white

6.20
#B4197F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B4197F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4197F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4197F#FFFFFF#000000##FFFFFF
##B4197F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#C10F4D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4197f;
/* rgb */ color: rgb(180, 25, 127);
/* oklch */ color: oklch(52.0% 0.205 347.0);
Tailwind
colors: {
  custom: {
    50: '#cf6ca4',
    500: '#b4197f',
    950: '#000000',
  },
}
SCSS
$custom: #b4197f;
$custom-light: #cf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4197f",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 320.516,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.2051,
    "h": 347
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#B4197F
secondary
#5CCD83
accent
#F27636
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4197F

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

Preview Lab → · Contrast checker → · Palette generator →

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