#97315B#97315B

#97315B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.141 H 358.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#97315B
RGBrgb(151, 49, 91)
HSLhsl(335, 51%, 39%)
HSVhsv(335, 68%, 59%)
CMYKcmyk(0%, 67.5%, 39.7%, 40.8%)
CIE-LABlab(36.99, 46.22, -1.52)
CIE-LCHlch(36.99, 46.25, 358.12°)
OKLaboklab(47.53% 0.1415 -0.0034)
OKLCHoklch(47.53% 0.142 358.6)
XYZxyz(15.7502, 9.5331, 10.9062)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97315B #31976D
analogous
#97318E #97315B #973A31
triadic
#97315B #5B9731 #315B97
tetradic
#97315B #8E9731 #31976D #3A3197
square
#97315B #8E9731 #31976D #3A3197
split-complementary
#97315B #31973A #318E97
monochromatic
#3B1323 #69223F #97315B #C24377 #D17199

Accessibility & contrast

On white

7.23
#97315B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#97315B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97315B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97315B#FFFFFF#000000##FFFFFF
##97315B1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5C
Deuteranopia (green-blind)
#605E59
Tritanopia (blue-blind)
#A32642
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97315b;
/* rgb */ color: rgb(151, 49, 91);
/* oklch */ color: oklch(47.5% 0.141 358.6);
Tailwind
colors: {
  custom: {
    50: '#ba7089',
    500: '#97315b',
    950: '#000000',
  },
}
SCSS
$custom: #97315b;
$custom-light: #ba7089;
$custom-dark: #000000;
JSON
{
  "hex": "#97315b",
  "rgb": {
    "r": 151,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 335.294,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.1415,
    "h": 358.6
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#97315B
secondary
#6BB999
accent
#DAA04D
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080B
muted
#817B7C

Preview Lab

Preview with #97315B

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

Preview Lab → · Contrast checker → · Palette generator →

#97315B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva