#972145#972145

#972145 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.154 H 8.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#972145
RGBrgb(151, 33, 69)
HSLhsl(342, 64%, 36%)
HSVhsv(342, 78%, 59%)
CMYKcmyk(0%, 78.1%, 54.3%, 40.8%)
CIE-LABlab(34.19, 50.11, 8.63)
CIE-LCHlch(34.19, 50.85, 9.77°)
OKLaboklab(45.25% 0.1525 0.0221)
OKLCHoklch(45.25% 0.154 8.2)
XYZxyz(14.3819, 8.0987, 6.4350)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972145 #219773
analogous
#972180 #972145 #973821
triadic
#972145 #459721 #214597
tetradic
#972145 #809721 #219773 #382197
square
#972145 #809721 #219773 #382197
split-complementary
#972145 #219738 #218097
monochromatic
#330B17 #65162E #972145 #C92C5C #DA5880

Accessibility & contrast

On white

8.02
#972145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#972145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972145
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972145#FFFFFF#000000##FFFFFF
##9721451.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404146
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#A50030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972145;
/* rgb */ color: rgb(151, 33, 69);
/* oklch */ color: oklch(45.3% 0.154 8.2);
Tailwind
colors: {
  custom: {
    50: '#bc6878',
    500: '#972145',
    950: '#000000',
  },
}
SCSS
$custom: #972145;
$custom-light: #bc6878;
$custom-dark: #000000;
JSON
{
  "hex": "#972145",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 341.695,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.15412,
    "h": 8.2
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#972145
secondary
#55BE9E
accent
#E7B441
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972145

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

Preview Lab → · Contrast checker → · Palette generator →

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