#98254D#98254D

#98254D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.153 H 4.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#98254D
RGBrgb(152, 37, 77)
HSLhsl(339, 61%, 37%)
HSVhsv(339, 76%, 60%)
CMYKcmyk(0%, 75.7%, 49.3%, 40.4%)
CIE-LABlab(35.08, 49.75, 4.72)
CIE-LCHlch(35.08, 49.98, 5.41°)
OKLaboklab(46.01% 0.1522 0.0125)
OKLCHoklch(46.01% 0.153 4.7)
XYZxyz(14.9513, 8.5364, 7.8801)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98254D #259870
analogous
#982587 #98254D #983625
triadic
#98254D #4D9825 #254D98
tetradic
#98254D #879825 #259870 #362598
square
#98254D #879825 #259870 #362598
split-complementary
#98254D #259836 #258798
monochromatic
#360D1B #671934 #98254D #C93166 #D85F89

Accessibility & contrast

On white

7.76
#98254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98254D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98254D#FFFFFF#000000##FFFFFF
##98254D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#A60C36
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #98254d;
/* rgb */ color: rgb(152, 37, 77);
/* oklch */ color: oklch(46.0% 0.153 4.7);
Tailwind
colors: {
  custom: {
    50: '#bc6a7e',
    500: '#98254d',
    950: '#000000',
  },
}
SCSS
$custom: #98254d;
$custom-light: #bc6a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#98254d",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 339.13,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.15267,
    "h": 4.7
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#98254D
secondary
#5CBD9B
accent
#E4AC44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #98254D

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

Preview Lab → · Contrast checker → · Palette generator →

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