#972256#972256

#972256 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.158 H 358.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#972256
RGBrgb(151, 34, 86)
HSLhsl(333, 63%, 36%)
HSVhsv(333, 77%, 59%)
CMYKcmyk(0%, 77.5%, 43%, 40.8%)
CIE-LABlab(34.80, 51.34, -1.54)
CIE-LCHlch(34.80, 51.37, 358.29°)
OKLaboklab(45.86% 0.1577 -0.0034)
OKLCHoklch(45.86% 0.158 358.8)
XYZxyz(15.0154, 8.3972, 9.6324)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972256 #229763
analogous
#972291 #972256 #972922
triadic
#972256 #569722 #225697
tetradic
#972256 #919722 #229763 #292297
square
#972256 #919722 #229763 #292297
split-complementary
#972256 #229729 #229197
monochromatic
#330C1D #65173A #972256 #C92D72 #DA5A93

Accessibility & contrast

On white

7.84
#972256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#972256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972256
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972256#FFFFFF#000000##FFFFFF
##9722561.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#A40E39
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972256;
/* rgb */ color: rgb(151, 34, 86);
/* oklch */ color: oklch(45.9% 0.158 358.8);
Tailwind
colors: {
  custom: {
    50: '#bb6985',
    500: '#972256',
    950: '#000000',
  },
}
SCSS
$custom: #972256;
$custom-light: #bb6985;
$custom-dark: #000000;
JSON
{
  "hex": "#972256",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 333.333,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45862,
    "c": 0.15778,
    "h": 358.8
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#972256
secondary
#57BE90
accent
#E69D42
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #972256

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

Preview Lab → · Contrast checker → · Palette generator →

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