#98254F#98254F

#98254F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.153 H 3.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#98254F
RGBrgb(152, 37, 79)
HSLhsl(338, 61%, 37%)
HSVhsv(338, 76%, 60%)
CMYKcmyk(0%, 75.7%, 48%, 40.4%)
CIE-LABlab(35.13, 49.94, 3.50)
CIE-LCHlch(35.13, 50.06, 4.01°)
OKLaboklab(46.07% 0.1529 0.0095)
OKLCHoklch(46.07% 0.153 3.6)
XYZxyz(15.0230, 8.5651, 8.2578)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98254F #25986E
analogous
#982589 #98254F #983525
triadic
#98254F #4F9825 #254F98
tetradic
#98254F #899825 #25986E #352598
square
#98254F #899825 #25986E #352598
split-complementary
#98254F #259835 #258998
monochromatic
#360D1C #671935 #98254F #C93169 #D85F8B

Accessibility & contrast

On white

7.74
#98254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#98254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98254F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98254F#FFFFFF#000000##FFFFFF
##98254F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#A60D37
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #98254f;
/* rgb */ color: rgb(152, 37, 79);
/* oklch */ color: oklch(46.1% 0.153 3.6);
Tailwind
colors: {
  custom: {
    50: '#bc6a80',
    500: '#98254f',
    950: '#000000',
  },
}
SCSS
$custom: #98254f;
$custom-light: #bc6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#98254f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 338.087,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.15319,
    "h": 3.6
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#98254F
secondary
#5CBD9A
accent
#E4A944
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #98254F

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

Preview Lab → · Contrast checker → · Palette generator →

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