#97267E#97267E

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

Color values

HEX#97267E
RGBrgb(151, 38, 126)
HSLhsl(313, 60%, 37%)
HSVhsv(313, 75%, 59%)
CMYKcmyk(0%, 74.8%, 16.6%, 40.8%)
CIE-LABlab(36.88, 55.00, -23.75)
CIE-LCHlch(36.88, 59.91, 336.65°)
OKLaboklab(47.91% 0.163 -0.0644)
OKLCHoklch(47.91% 0.175 338.5)
XYZxyz(17.2219, 9.4735, 20.6562)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97267E #26973F
analogous
#772697 #97267E #972646
triadic
#97267E #7E9726 #267E97
tetradic
#97267E #977726 #26973F #264697
square
#97267E #977726 #26973F #264697
split-complementary
#97267E #469726 #269777
monochromatic
#350D2C #661A55 #97267E #C832A7 #D760BD

Accessibility & contrast

On white

7.26
#97267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97267E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97267E#FFFFFF#000000##FFFFFF
##97267E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A02B4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97267e;
/* rgb */ color: rgb(151, 38, 126);
/* oklch */ color: oklch(47.9% 0.175 338.5);
Tailwind
colors: {
  custom: {
    50: '#b96ca3',
    500: '#97267e',
    950: '#000000',
  },
}
SCSS
$custom: #97267e;
$custom-light: #b96ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#97267e",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 313.274,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.17526,
    "h": 338.5
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#97267E
secondary
#5CBC72
accent
#E36845
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97267E

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

Preview Lab → · Contrast checker → · Palette generator →

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