#98315D#98315D

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

Color values

HEX#98315D
RGBrgb(152, 49, 93)
HSLhsl(334, 51%, 39%)
HSVhsv(334, 68%, 60%)
CMYKcmyk(0%, 67.8%, 38.8%, 40.4%)
CIE-LABlab(37.23, 46.76, -2.41)
CIE-LCHlch(37.23, 46.83, 357.04°)
OKLaboklab(47.77% 0.1431 -0.0057)
OKLCHoklch(47.77% 0.143 357.7)
XYZxyz(16.0240, 9.6642, 11.3753)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98315D #31986C
analogous
#983191 #98315D #983931
triadic
#98315D #5D9831 #315D98
tetradic
#98315D #919831 #31986C #393198
square
#98315D #919831 #31986C #393198
split-complementary
#98315D #319839 #319198
monochromatic
#3B1324 #6A2241 #98315D #C3447A #D2729B

Accessibility & contrast

On white

7.16
#98315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#98315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98315D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98315D#FFFFFF#000000##FFFFFF
##98315D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5E
Deuteranopia (green-blind)
#605F5B
Tritanopia (blue-blind)
#A42743
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98315d;
/* rgb */ color: rgb(152, 49, 93);
/* oklch */ color: oklch(47.8% 0.143 357.7);
Tailwind
colors: {
  custom: {
    50: '#ba708a',
    500: '#98315d',
    950: '#000000',
  },
}
SCSS
$custom: #98315d;
$custom-light: #ba708a;
$custom-dark: #000000;
JSON
{
  "hex": "#98315d",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 334.369,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47766,
    "c": 0.14324,
    "h": 357.7
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#98315D
secondary
#6BB998
accent
#DB9E4D
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080B
muted
#817B7C

Preview Lab

Preview with #98315D

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

Preview Lab → · Contrast checker → · Palette generator →

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