#751158#751158

#751158 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.6% C 0.150 H 343.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#751158
RGBrgb(117, 17, 88)
HSLhsl(317, 75%, 26%)
HSVhsv(317, 85%, 46%)
CMYKcmyk(0%, 85.5%, 24.8%, 54.1%)
CIE-LABlab(26.41, 47.57, -16.15)
CIE-LCHlch(26.41, 50.23, 341.25°)
OKLaboklab(38.57% 0.1438 -0.0433)
OKLCHoklch(38.57% 0.15 343.3)
XYZxyz(9.2984, 4.8884, 9.6845)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751158 #11752E
analogous
#601175 #751158 #751126
triadic
#751158 #587511 #115875
tetradic
#751158 #756011 #11752E #112675
square
#751158 #756011 #11752E #112675
split-complementary
#751158 #267511 #117560
monochromatic
#1B0414 #400930 #751158 #AA1980 #DF22A8

Accessibility & contrast

On white

10.62
#751158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#751158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751158
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751158#FFFFFF#000000##FFFFFF
##7511581.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E345A
Deuteranopia (green-blind)
#3E4456
Tritanopia (blue-blind)
#7D1134
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #751158;
/* rgb */ color: rgb(117, 17, 88);
/* oklch */ color: oklch(38.6% 0.150 343.3);
Tailwind
colors: {
  custom: {
    50: '#a15d87',
    500: '#751158',
    950: '#000000',
  },
}
SCSS
$custom: #751158;
$custom-light: #a15d87;
$custom-dark: #000000;
JSON
{
  "hex": "#751158",
  "rgb": {
    "r": 117,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 317.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.15018,
    "h": 343.3
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#751158
secondary
#36AC58
accent
#F16D37
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#0F050B
muted
#7F797C

Preview Lab

Preview with #751158

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

Preview Lab → · Contrast checker → · Palette generator →

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