#98256C#98256C

#98256C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.166 H 347.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#98256C
RGBrgb(152, 37, 108)
HSLhsl(323, 61%, 37%)
HSVhsv(323, 76%, 60%)
CMYKcmyk(0%, 75.7%, 28.9%, 40.4%)
CIE-LABlab(36.14, 53.14, -13.57)
CIE-LCHlch(36.14, 54.84, 345.67°)
OKLaboklab(47.15% 0.1618 -0.0358)
OKLCHoklch(47.15% 0.166 347.5)
XYZxyz(16.3180, 9.0831, 15.0783)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98256C #259851
analogous
#8B2598 #98256C #982532
triadic
#98256C #6C9825 #256C98
tetradic
#98256C #988B25 #259851 #253298
square
#98256C #988B25 #259851 #253298
split-complementary
#98256C #329825 #25988B
monochromatic
#360D26 #671949 #98256C #C9318F #D85FAA

Accessibility & contrast

On white

7.46
#98256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#98256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98256C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98256C#FFFFFF#000000##FFFFFF
##98256C1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486E
Deuteranopia (green-blind)
#585C69
Tritanopia (blue-blind)
#A32045
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98256c;
/* rgb */ color: rgb(152, 37, 108);
/* oklch */ color: oklch(47.1% 0.166 347.5);
Tailwind
colors: {
  custom: {
    50: '#ba6b96',
    500: '#98256c',
    950: '#000000',
  },
}
SCSS
$custom: #98256c;
$custom-light: #ba6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#98256c",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 322.957,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.16568,
    "h": 347.5
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#98256C
secondary
#5CBD81
accent
#E48144
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98256C

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

Preview Lab → · Contrast checker → · Palette generator →

#98256C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva