#98256F#98256F

#98256F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.167 H 346.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#98256F
RGBrgb(152, 37, 111)
HSLhsl(321, 61%, 37%)
HSVhsv(321, 76%, 60%)
CMYKcmyk(0%, 75.7%, 27%, 40.4%)
CIE-LABlab(36.27, 53.52, -15.28)
CIE-LCHlch(36.27, 55.66, 344.07°)
OKLaboklab(47.28% 0.1624 -0.0405)
OKLCHoklch(47.28% 0.167 346)
XYZxyz(16.4804, 9.1480, 15.9337)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98256F #25984E
analogous
#882598 #98256F #982536
triadic
#98256F #6F9825 #256F98
tetradic
#98256F #988825 #25984E #253698
square
#98256F #988825 #25984E #253698
split-complementary
#98256F #369825 #259888
monochromatic
#360D27 #67194B #98256F #C93193 #D85FAD

Accessibility & contrast

On white

7.42
#98256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#98256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98256F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98256F#FFFFFF#000000##FFFFFF
##98256F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#575C6C
Tritanopia (blue-blind)
#A32247
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98256f;
/* rgb */ color: rgb(152, 37, 111);
/* oklch */ color: oklch(47.3% 0.167 346.0);
Tailwind
colors: {
  custom: {
    50: '#ba6b98',
    500: '#98256f',
    950: '#000000',
  },
}
SCSS
$custom: #98256f;
$custom-light: #ba6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#98256f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 321.391,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.16741,
    "h": 346
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#98256F
secondary
#5CBD7E
accent
#E47D44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98256F

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

Preview Lab → · Contrast checker → · Palette generator →

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