#97267D#97267D

#97267D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.175 H 338.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#97267D
RGBrgb(151, 38, 125)
HSLhsl(314, 60%, 37%)
HSVhsv(314, 75%, 59%)
CMYKcmyk(0%, 74.8%, 17.2%, 40.8%)
CIE-LABlab(36.83, 54.85, -23.20)
CIE-LCHlch(36.83, 59.56, 337.08°)
OKLaboklab(47.86% 0.1629 -0.0628)
OKLCHoklch(47.86% 0.175 338.9)
XYZxyz(17.1577, 9.4479, 20.3181)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97267D #269740
analogous
#782697 #97267D #972645
triadic
#97267D #7D9726 #267D97
tetradic
#97267D #977826 #269740 #264597
square
#97267D #977826 #269740 #264597
split-complementary
#97267D #459726 #269778
monochromatic
#350D2C #661A55 #97267D #C832A5 #D760BC

Accessibility & contrast

On white

7.27
#97267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#97267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97267D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97267D#FFFFFF#000000##FFFFFF
##97267D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A02B4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97267d;
/* rgb */ color: rgb(151, 38, 125);
/* oklch */ color: oklch(47.9% 0.175 338.9);
Tailwind
colors: {
  custom: {
    50: '#b96ca3',
    500: '#97267d',
    950: '#000000',
  },
}
SCSS
$custom: #97267d;
$custom-light: #b96ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#97267d",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 313.805,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.17457,
    "h": 338.9
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#97267D
secondary
#5CBC73
accent
#E36945
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97267D

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

Preview Lab → · Contrast checker → · Palette generator →

#97267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva