#98255F#98255F

#98255F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.159 H 354.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#98255F
RGBrgb(152, 37, 95)
HSLhsl(330, 61%, 37%)
HSVhsv(330, 76%, 60%)
CMYKcmyk(0%, 75.7%, 37.5%, 40.4%)
CIE-LABlab(35.65, 51.58, -6.04)
CIE-LCHlch(35.65, 51.94, 353.32°)
OKLaboklab(46.62% 0.1583 -0.0153)
OKLCHoklch(46.62% 0.159 354.5)
XYZxyz(15.6770, 8.8267, 11.7024)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98255F #25985E
analogous
#982598 #98255F #982526
triadic
#98255F #5F9825 #255F98
tetradic
#98255F #989825 #25985E #252698
square
#98255F #989825 #25985E #252698
split-complementary
#98255F #269825 #259898
monochromatic
#360D21 #671940 #98255F #C9317E #D85F9C

Accessibility & contrast

On white

7.59
#98255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#98255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98255F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98255F#FFFFFF#000000##FFFFFF
##98255F1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4661
Deuteranopia (green-blind)
#5B5B5C
Tritanopia (blue-blind)
#A4193F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98255f;
/* rgb */ color: rgb(152, 37, 95);
/* oklch */ color: oklch(46.6% 0.159 354.5);
Tailwind
colors: {
  custom: {
    50: '#bb6b8c',
    500: '#98255f',
    950: '#000000',
  },
}
SCSS
$custom: #98255f;
$custom-light: #bb6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#98255f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 329.739,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.15904,
    "h": 354.5
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#98255F
secondary
#5CBD8C
accent
#E49344
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #98255F

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

Preview Lab → · Contrast checker → · Palette generator →

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