#90337F#90337F

#90337F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.154 H 335.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#90337F
RGBrgb(144, 51, 127)
HSLhsl(311, 48%, 38%)
HSVhsv(311, 65%, 56%)
CMYKcmyk(0%, 64.6%, 11.8%, 43.5%)
CIE-LABlab(37.54, 48.25, -23.44)
CIE-LCHlch(37.54, 53.64, 334.10°)
OKLaboklab(48.17% 0.1407 -0.0637)
OKLCHoklch(48.17% 0.154 335.6)
XYZxyz(16.5164, 9.8306, 21.1022)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90337F #339044
analogous
#723390 #90337F #903350
triadic
#90337F #7F9033 #337F90
tetradic
#90337F #907233 #339044 #335090
square
#90337F #907233 #339044 #335090
split-complementary
#90337F #509033 #339072
monochromatic
#36132F #632357 #90337F #BD44A6 #CD71BC

Accessibility & contrast

On white

7.08
#90337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#90337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90337F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90337F#FFFFFF#000000##FFFFFF
##90337F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#515D7D
Tritanopia (blue-blind)
#973954
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #90337f;
/* rgb */ color: rgb(144, 51, 127);
/* oklch */ color: oklch(48.2% 0.154 335.6);
Tailwind
colors: {
  custom: {
    50: '#b371a4',
    500: '#90337f',
    950: '#000000',
  },
}
SCSS
$custom: #90337f;
$custom-light: #b371a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90337f",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 310.968,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.15448,
    "h": 335.6
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#90337F
secondary
#6AB578
accent
#D76951
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #90337F

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

Preview Lab → · Contrast checker → · Palette generator →

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