#972142#972142

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

Color values

HEX#972142
RGBrgb(151, 33, 66)
HSLhsl(343, 64%, 36%)
HSVhsv(343, 78%, 59%)
CMYKcmyk(0%, 78.1%, 56.3%, 40.8%)
CIE-LABlab(34.11, 49.87, 10.48)
CIE-LCHlch(34.11, 50.96, 11.86°)
OKLaboklab(45.17% 0.1513 0.0265)
OKLCHoklch(45.17% 0.154 9.9)
XYZxyz(14.2911, 8.0624, 5.9569)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972142 #219776
analogous
#97217D #972142 #973B21
triadic
#972142 #429721 #214297
tetradic
#972142 #7D9721 #219776 #3B2197
square
#972142 #7D9721 #219776 #3B2197
split-complementary
#972142 #21973B #217D97
monochromatic
#330B16 #65162C #972142 #C92C58 #DA587C

Accessibility & contrast

On white

8.04
#972142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#972142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972142
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972142#FFFFFF#000000##FFFFFF
##9721421.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972142;
/* rgb */ color: rgb(151, 33, 66);
/* oklch */ color: oklch(45.2% 0.154 9.9);
Tailwind
colors: {
  custom: {
    50: '#bc6876',
    500: '#972142',
    950: '#000000',
  },
}
SCSS
$custom: #972142;
$custom-light: #bc6876;
$custom-dark: #000000;
JSON
{
  "hex": "#972142",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 343.22,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.15364,
    "h": 9.9
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#972142
secondary
#55BEA1
accent
#E7B941
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972142

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

Preview Lab → · Contrast checker → · Palette generator →

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