#98315F#98315F

#98315F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.8% C 0.144 H 356.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#98315F
RGBrgb(152, 49, 95)
HSLhsl(333, 51%, 39%)
HSVhsv(333, 68%, 60%)
CMYKcmyk(0%, 67.8%, 37.5%, 40.4%)
CIE-LABlab(37.30, 46.99, -3.59)
CIE-LCHlch(37.30, 47.13, 355.63°)
OKLaboklab(47.84% 0.1438 -0.0088)
OKLCHoklch(47.84% 0.144 356.5)
XYZxyz(16.1137, 9.7001, 11.8480)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98315F #31986A
analogous
#983193 #98315F #983731
triadic
#98315F #5F9831 #315F98
tetradic
#98315F #939831 #31986A #373198
square
#98315F #939831 #31986A #373198
split-complementary
#98315F #319837 #319398
monochromatic
#3B1325 #6A2242 #98315F #C3447C #D2729D

Accessibility & contrast

On white

7.14
#98315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#98315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98315F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98315F#FFFFFF#000000##FFFFFF
##98315F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C60
Deuteranopia (green-blind)
#5F5F5D
Tritanopia (blue-blind)
#A42844
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98315f;
/* rgb */ color: rgb(152, 49, 95);
/* oklch */ color: oklch(47.8% 0.144 356.5);
Tailwind
colors: {
  custom: {
    50: '#ba708c',
    500: '#98315f',
    950: '#000000',
  },
}
SCSS
$custom: #98315f;
$custom-light: #ba708c;
$custom-dark: #000000;
JSON
{
  "hex": "#98315f",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 333.204,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47836,
    "c": 0.14406,
    "h": 356.5
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#98315F
secondary
#6BB997
accent
#DB9B4D
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #98315F

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

Preview Lab → · Contrast checker → · Palette generator →

#98315F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva