#98256B#98256B

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

Color values

HEX#98256B
RGBrgb(152, 37, 107)
HSLhsl(323, 61%, 37%)
HSVhsv(323, 76%, 60%)
CMYKcmyk(0%, 75.7%, 29.6%, 40.4%)
CIE-LABlab(36.10, 53.01, -13.00)
CIE-LCHlch(36.10, 54.58, 346.22°)
OKLaboklab(47.1% 0.1615 -0.0342)
OKLCHoklch(47.1% 0.165 348)
XYZxyz(16.2651, 9.0619, 14.7996)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98256B #259852
analogous
#8C2598 #98256B #982532
triadic
#98256B #6B9825 #256B98
tetradic
#98256B #988C25 #259852 #253298
square
#98256B #988C25 #259852 #253298
split-complementary
#98256B #329825 #25988C
monochromatic
#360D26 #671948 #98256B #C9318E #D85FA9

Accessibility & contrast

On white

7.47
#98256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#98256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98256B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98256B#FFFFFF#000000##FFFFFF
##98256B1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98256b;
/* rgb */ color: rgb(152, 37, 107);
/* oklch */ color: oklch(47.1% 0.165 348.0);
Tailwind
colors: {
  custom: {
    50: '#ba6b95',
    500: '#98256b',
    950: '#000000',
  },
}
SCSS
$custom: #98256b;
$custom-light: #ba6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#98256b",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 323.478,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.16511,
    "h": 348
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#98256B
secondary
#5CBD82
accent
#E48244
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98256B

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

Preview Lab → · Contrast checker → · Palette generator →

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