#98285F#98285F

#98285F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.156 H 354.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#98285F
RGBrgb(152, 40, 95)
HSLhsl(331, 58%, 38%)
HSVhsv(331, 74%, 60%)
CMYKcmyk(0%, 73.7%, 37.5%, 40.4%)
CIE-LABlab(36.02, 50.53, -5.48)
CIE-LCHlch(36.02, 50.82, 353.81°)
OKLaboklab(46.9% 0.155 -0.0138)
OKLCHoklch(46.9% 0.156 354.9)
XYZxyz(15.7742, 9.0211, 11.7348)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98285F #289861
analogous
#982897 #98285F #982928
triadic
#98285F #5F9828 #285F98
tetradic
#98285F #979828 #289861 #292898
square
#98285F #979828 #289861 #292898
split-complementary
#98285F #289829 #289798
monochromatic
#370F22 #681B41 #98285F #C8357D #D6649C

Accessibility & contrast

On white

7.49
#98285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#98285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98285F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98285F#FFFFFF#000000##FFFFFF
##98285F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4860
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#A41D40
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98285f;
/* rgb */ color: rgb(152, 40, 95);
/* oklch */ color: oklch(46.9% 0.156 354.9);
Tailwind
colors: {
  custom: {
    50: '#bb6c8c',
    500: '#98285f',
    950: '#000000',
  },
}
SCSS
$custom: #98285f;
$custom-light: #bb6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#98285f",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 330.536,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.15557,
    "h": 354.9
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#98285F
secondary
#60BC8F
accent
#E29546
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #98285F

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

Preview Lab → · Contrast checker → · Palette generator →

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