#7C1758#7C1758

#7C1758 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.149 H 346.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7C1758
RGBrgb(124, 23, 88)
HSLhsl(321, 69%, 29%)
HSVhsv(321, 81%, 49%)
CMYKcmyk(0%, 81.5%, 29%, 51.4%)
CIE-LABlab(28.39, 47.67, -12.99)
CIE-LCHlch(28.39, 49.40, 344.75°)
OKLaboklab(40.25% 0.1451 -0.0344)
OKLCHoklch(40.25% 0.149 346.7)
XYZxyz(10.3805, 5.6036, 9.7656)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1758 #177C3B
analogous
#6E177C #7C1758 #7C1726
triadic
#7C1758 #587C17 #17587C
tetradic
#7C1758 #7C6E17 #177C3B #17267C
square
#7C1758 #7C6E17 #177C3B #17267C
split-complementary
#7C1758 #267C17 #177C6E
monochromatic
#1A0512 #480D33 #7C1758 #B0217D #D9349E

Accessibility & contrast

On white

9.90
#7C1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1758
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1758#FFFFFF#000000##FFFFFF
##7C17581.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#851336
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1758;
/* rgb */ color: rgb(124, 23, 88);
/* oklch */ color: oklch(40.2% 0.149 346.7);
Tailwind
colors: {
  custom: {
    50: '#a66187',
    500: '#7c1758',
    950: '#000000',
  },
}
SCSS
$custom: #7c1758;
$custom-light: #a66187;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1758",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 321.386,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.14916,
    "h": 346.7
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#7C1758
secondary
#3EB167
accent
#EC7B3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C1758

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

Preview Lab → · Contrast checker → · Palette generator →

#7C1758 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva