#752158#752158

#752158 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.132 H 344.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#752158
RGBrgb(117, 33, 88)
HSLhsl(321, 56%, 29%)
HSVhsv(321, 72%, 46%)
CMYKcmyk(0%, 71.8%, 24.8%, 54.1%)
CIE-LABlab(28.31, 42.18, -13.22)
CIE-LCHlch(28.31, 44.20, 342.59°)
OKLaboklab(39.94% 0.1272 -0.0352)
OKLCHoklch(39.94% 0.132 344.5)
XYZxyz(9.6418, 5.5752, 9.7990)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752158 #21753E
analogous
#682175 #752158 #75212E
triadic
#752158 #587521 #215875
tetradic
#752158 #756821 #21753E #212E75
square
#752158 #756821 #21753E #212E75
split-complementary
#752158 #2E7521 #217568
monochromatic
#180712 #451434 #752158 #A52E7C #CB469D

Accessibility & contrast

On white

9.93
#752158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#752158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752158
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752158#FFFFFF#000000##FFFFFF
##7521581.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#7D2039
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #752158;
/* rgb */ color: rgb(117, 33, 88);
/* oklch */ color: oklch(39.9% 0.132 344.5);
Tailwind
colors: {
  custom: {
    50: '#a06487',
    500: '#752158',
    950: '#000000',
  },
}
SCSS
$custom: #752158;
$custom-light: #a06487;
$custom-dark: #000000;
JSON
{
  "hex": "#752158",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 320.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.132,
    "h": 344.5
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#752158
secondary
#4AA86A
accent
#DF7D49
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #752158

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

Preview Lab → · Contrast checker → · Palette generator →

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