#752162#752162

#752162 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.139 H 338.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#752162
RGBrgb(117, 33, 98)
HSLhsl(314, 56%, 29%)
HSVhsv(314, 72%, 46%)
CMYKcmyk(0%, 71.8%, 16.2%, 54.1%)
CIE-LABlab(28.78, 43.70, -19.03)
CIE-LCHlch(28.78, 47.66, 336.46°)
OKLaboklab(40.44% 0.1291 -0.0515)
OKLCHoklch(40.44% 0.139 338.2)
XYZxyz(10.0848, 5.7524, 12.1321)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752162 #217534
analogous
#5E2175 #752162 #752138
triadic
#752162 #627521 #216275
tetradic
#752162 #755E21 #217534 #213875
square
#752162 #755E21 #217534 #213875
split-complementary
#752162 #387521 #21755E
monochromatic
#180714 #45143A #752162 #A52E8A #CB46AD

Accessibility & contrast

On white

9.77
#752162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#752162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752162
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752162#FFFFFF#000000##FFFFFF
##7521621.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253B64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#7C253E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #752162;
/* rgb */ color: rgb(117, 33, 98);
/* oklch */ color: oklch(40.4% 0.139 338.2);
Tailwind
colors: {
  custom: {
    50: '#a0648f',
    500: '#752162',
    950: '#000000',
  },
}
SCSS
$custom: #752162;
$custom-light: #a0648f;
$custom-dark: #000000;
JSON
{
  "hex": "#752162",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 313.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.13906,
    "h": 338.2
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#752162
secondary
#4AA85F
accent
#DF6B49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #752162

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

Preview Lab → · Contrast checker → · Palette generator →

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