#972868#972868

#972868 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.159 H 349.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#972868
RGBrgb(151, 40, 104)
HSLhsl(325, 58%, 37%)
HSVhsv(325, 74%, 59%)
CMYKcmyk(0%, 73.5%, 31.1%, 40.8%)
CIE-LABlab(36.17, 51.31, -11.01)
CIE-LCHlch(36.17, 52.48, 347.89°)
OKLaboklab(47.08% 0.1566 -0.0288)
OKLCHoklch(47.08% 0.159 349.6)
XYZxyz(16.0208, 9.0982, 14.0065)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972868 #289757
analogous
#8E2897 #972868 #972831
triadic
#972868 #689728 #286897
tetradic
#972868 #978E28 #289757 #283197
square
#972868 #978E28 #289757 #283197
split-complementary
#972868 #319728 #28978E
monochromatic
#360E25 #671B47 #972868 #C73589 #D664A5

Accessibility & contrast

On white

7.45
#972868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#972868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972868
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972868#FFFFFF#000000##FFFFFF
##9728681.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496A
Deuteranopia (green-blind)
#595C65
Tritanopia (blue-blind)
#A22244
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972868;
/* rgb */ color: rgb(151, 40, 104);
/* oklch */ color: oklch(47.1% 0.159 349.6);
Tailwind
colors: {
  custom: {
    50: '#ba6c93',
    500: '#972868',
    950: '#000000',
  },
}
SCSS
$custom: #972868;
$custom-light: #ba6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#972868",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 325.405,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.15919,
    "h": 349.6
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#972868
secondary
#5FBC86
accent
#E18846
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #972868

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

Preview Lab → · Contrast checker → · Palette generator →

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