#972148#972148

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

Color values

HEX#972148
RGBrgb(151, 33, 72)
HSLhsl(340, 64%, 36%)
HSVhsv(340, 78%, 59%)
CMYKcmyk(0%, 78.1%, 52.3%, 40.8%)
CIE-LABlab(34.27, 50.36, 6.78)
CIE-LCHlch(34.27, 50.82, 7.67°)
OKLaboklab(45.34% 0.1537 0.0176)
OKLCHoklch(45.34% 0.155 6.5)
XYZxyz(14.4774, 8.1369, 6.9379)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972148 #219770
analogous
#972183 #972148 #973521
triadic
#972148 #489721 #214897
tetradic
#972148 #839721 #219770 #352197
square
#972148 #839721 #219770 #352197
split-complementary
#972148 #219735 #218397
monochromatic
#330B18 #651630 #972148 #C92C60 #DA5883

Accessibility & contrast

On white

7.99
#972148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#972148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972148
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972148#FFFFFF#000000##FFFFFF
##9721481.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972148;
/* rgb */ color: rgb(151, 33, 72);
/* oklch */ color: oklch(45.3% 0.155 6.5);
Tailwind
colors: {
  custom: {
    50: '#bb687a',
    500: '#972148',
    950: '#000000',
  },
}
SCSS
$custom: #972148;
$custom-light: #bb687a;
$custom-dark: #000000;
JSON
{
  "hex": "#972148",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 340.169,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.15471,
    "h": 6.5
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#972148
secondary
#55BE9C
accent
#E7B041
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #972148

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

Preview Lab → · Contrast checker → · Palette generator →

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