#982148#982148

#982148 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.156 H 6.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#982148
RGBrgb(152, 33, 72)
HSLhsl(340, 64%, 36%)
HSVhsv(340, 78%, 60%)
CMYKcmyk(0%, 78.3%, 52.6%, 40.4%)
CIE-LABlab(34.46, 50.65, 7.09)
CIE-LCHlch(34.46, 51.15, 7.97°)
OKLaboklab(45.52% 0.1545 0.0184)
OKLCHoklch(45.52% 0.156 6.8)
XYZxyz(14.6638, 8.2330, 6.9466)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982148 #219871
analogous
#982184 #982148 #983621
triadic
#982148 #489821 #214898
tetradic
#982148 #849821 #219871 #362198
square
#982148 #849821 #219871 #362198
split-complementary
#982148 #219836 #218498
monochromatic
#330B18 #661630 #982148 #CA2C60 #DB5983

Accessibility & contrast

On white

7.94
#982148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#982148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982148
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982148#FFFFFF#000000##FFFFFF
##9821481.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982148;
/* rgb */ color: rgb(152, 33, 72);
/* oklch */ color: oklch(45.5% 0.156 6.8);
Tailwind
colors: {
  custom: {
    50: '#bc687a',
    500: '#982148',
    950: '#000000',
  },
}
SCSS
$custom: #982148;
$custom-light: #bc687a;
$custom-dark: #000000;
JSON
{
  "hex": "#982148",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 340.336,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.15563,
    "h": 6.8
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#982148
secondary
#56BF9C
accent
#E7B140
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982148

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

Preview Lab → · Contrast checker → · Palette generator →

#982148 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva