#98256D#98256D

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

Color values

HEX#98256D
RGBrgb(152, 37, 109)
HSLhsl(322, 61%, 37%)
HSVhsv(322, 76%, 60%)
CMYKcmyk(0%, 75.7%, 28.3%, 40.4%)
CIE-LABlab(36.18, 53.26, -14.14)
CIE-LCHlch(36.18, 55.11, 345.13°)
OKLaboklab(47.19% 0.162 -0.0374)
OKLCHoklch(47.19% 0.166 347)
XYZxyz(16.3716, 9.1045, 15.3602)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98256D #259850
analogous
#8A2598 #98256D #982533
triadic
#98256D #6D9825 #256D98
tetradic
#98256D #988A25 #259850 #253398
square
#98256D #988A25 #259850 #253398
split-complementary
#98256D #339825 #25988A
monochromatic
#360D26 #67194A #98256D #C93190 #D85FAB

Accessibility & contrast

On white

7.45
#98256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98256D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98256D#FFFFFF#000000##FFFFFF
##98256D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#575C6A
Tritanopia (blue-blind)
#A32146
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98256d;
/* rgb */ color: rgb(152, 37, 109);
/* oklch */ color: oklch(47.2% 0.166 347.0);
Tailwind
colors: {
  custom: {
    50: '#ba6b97',
    500: '#98256d',
    950: '#000000',
  },
}
SCSS
$custom: #98256d;
$custom-light: #ba6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#98256d",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 322.435,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47189,
    "c": 0.16624,
    "h": 347
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#98256D
secondary
#5CBD80
accent
#E48044
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98256D

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

Preview Lab → · Contrast checker → · Palette generator →

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