#751162#751162

#751162 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.1% C 0.157 H 337.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#751162
RGBrgb(117, 17, 98)
HSLhsl(311, 75%, 26%)
HSVhsv(311, 85%, 46%)
CMYKcmyk(0%, 85.5%, 16.2%, 54.1%)
CIE-LABlab(26.92, 48.99, -21.93)
CIE-LCHlch(26.92, 53.67, 335.88°)
OKLaboklab(39.09% 0.1451 -0.0597)
OKLCHoklch(39.09% 0.157 337.6)
XYZxyz(9.7414, 5.0656, 12.0176)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751162 #117524
analogous
#561175 #751162 #751130
triadic
#751162 #627511 #116275
tetradic
#751162 #755611 #117524 #113075
square
#751162 #755611 #117524 #113075
split-complementary
#751162 #307511 #117556
monochromatic
#1B0416 #400935 #751162 #AA198F #DF22BB

Accessibility & contrast

On white

10.43
#751162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#751162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751162
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751162#FFFFFF#000000##FFFFFF
##7511621.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163664
Deuteranopia (green-blind)
#3A4560
Tritanopia (blue-blind)
#7C183A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #751162;
/* rgb */ color: rgb(117, 17, 98);
/* oklch */ color: oklch(39.1% 0.157 337.6);
Tailwind
colors: {
  custom: {
    50: '#a05e8f',
    500: '#751162',
    950: '#000000',
  },
}
SCSS
$custom: #751162;
$custom-light: #a05e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#751162",
  "rgb": {
    "r": 117,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 311.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39094,
    "c": 0.15686,
    "h": 337.6
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#751162
secondary
#36AC4C
accent
#F15A37
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #751162

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

Preview Lab → · Contrast checker → · Palette generator →

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