#732158#732158

#732158 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.130 H 343.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#732158
RGBrgb(115, 33, 88)
HSLhsl(320, 55%, 29%)
HSVhsv(320, 71%, 45%)
CMYKcmyk(0%, 71.3%, 23.5%, 54.9%)
CIE-LABlab(27.95, 41.59, -13.82)
CIE-LCHlch(27.95, 43.83, 341.63°)
OKLaboklab(39.61% 0.1251 -0.0369)
OKLCHoklch(39.61% 0.13 343.6)
XYZxyz(9.3759, 5.4381, 9.7865)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732158 #21733C
analogous
#652173 #732158 #73212F
triadic
#732158 #587321 #215873
tetradic
#732158 #736521 #21733C #212F73
square
#732158 #736521 #21733C #212F73
split-complementary
#732158 #2F7321 #217365
monochromatic
#180712 #431334 #732158 #A32F7C #CA459E

Accessibility & contrast

On white

10.06
#732158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#732158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732158
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732158#FFFFFF#000000##FFFFFF
##7321581.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29395A
Deuteranopia (green-blind)
#424756
Tritanopia (blue-blind)
#7B2139
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #732158;
/* rgb */ color: rgb(115, 33, 88);
/* oklch */ color: oklch(39.6% 0.130 343.6);
Tailwind
colors: {
  custom: {
    50: '#9e6387',
    500: '#732158',
    950: '#000000',
  },
}
SCSS
$custom: #732158;
$custom-light: #9e6387;
$custom-dark: #000000;
JSON
{
  "hex": "#732158",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 319.756,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.13042,
    "h": 343.6
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#732158
secondary
#49A668
accent
#DF7A49
background
#FAF6F8
surface
#F3EBEF
border
#CDC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #732158

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

Preview Lab → · Contrast checker → · Palette generator →

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