#98315E#98315E

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

Color values

HEX#98315E
RGBrgb(152, 49, 94)
HSLhsl(334, 51%, 39%)
HSVhsv(334, 68%, 60%)
CMYKcmyk(0%, 67.8%, 38.2%, 40.4%)
CIE-LABlab(37.27, 46.88, -3.00)
CIE-LCHlch(37.27, 46.97, 356.34°)
OKLaboklab(47.8% 0.1435 -0.0073)
OKLCHoklch(47.8% 0.144 357.1)
XYZxyz(16.0686, 9.6820, 11.6101)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98315E #31986B
analogous
#983192 #98315E #983731
triadic
#98315E #5E9831 #315E98
tetradic
#98315E #929831 #31986B #373198
square
#98315E #929831 #31986B #373198
split-complementary
#98315E #319837 #319298
monochromatic
#3B1325 #6A2241 #98315E #C3447B #D2729C

Accessibility & contrast

On white

7.15
#98315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98315E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98315E#FFFFFF#000000##FFFFFF
##98315E1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98315e;
/* rgb */ color: rgb(152, 49, 94);
/* oklch */ color: oklch(47.8% 0.144 357.1);
Tailwind
colors: {
  custom: {
    50: '#ba708b',
    500: '#98315e',
    950: '#000000',
  },
}
SCSS
$custom: #98315e;
$custom-light: #ba708b;
$custom-dark: #000000;
JSON
{
  "hex": "#98315e",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 333.786,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.478,
    "c": 0.14365,
    "h": 357.1
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98315E

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

Preview Lab → · Contrast checker → · Palette generator →

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