#9A2058#9A2058

#9A2058 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.163 H 358.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9A2058
RGBrgb(154, 32, 88)
HSLhsl(332, 66%, 36%)
HSVhsv(332, 79%, 60%)
CMYKcmyk(0%, 79.2%, 42.9%, 39.6%)
CIE-LABlab(35.22, 53.01, -2.13)
CIE-LCHlch(35.22, 53.05, 357.69°)
OKLaboklab(46.3% 0.163 -0.005)
OKLCHoklch(46.3% 0.163 358.3)
XYZxyz(15.6056, 8.6097, 10.0707)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2058 #209A62
analogous
#9A2095 #9A2058 #9A2520
triadic
#9A2058 #589A20 #20589A
tetradic
#9A2058 #959A20 #209A62 #25209A
square
#9A2058 #959A20 #209A62 #25209A
split-complementary
#9A2058 #209A25 #20959A
monochromatic
#350B1E #67153B #9A2058 #CD2B75 #DC5895

Accessibility & contrast

On white

7.72
#9A2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9A2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2058
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2058#FFFFFF#000000##FFFFFF
##9A20581.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5D5B55
Tritanopia (blue-blind)
#A70839
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2058;
/* rgb */ color: rgb(154, 32, 88);
/* oklch */ color: oklch(46.3% 0.163 358.3);
Tailwind
colors: {
  custom: {
    50: '#bd6987',
    500: '#9a2058',
    950: '#000000',
  },
}
SCSS
$custom: #9a2058;
$custom-light: #bd6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2058",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 332.459,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.16305,
    "h": 358.3
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#9A2058
secondary
#56C08F
accent
#E99B3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A2058

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2058 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva