#7C175E#7C175E

#7C175E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 343.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7C175E
RGBrgb(124, 23, 94)
HSLhsl(318, 69%, 29%)
HSVhsv(318, 81%, 49%)
CMYKcmyk(0%, 81.5%, 24.2%, 51.4%)
CIE-LABlab(28.66, 48.46, -16.51)
CIE-LCHlch(28.66, 51.20, 341.19°)
OKLaboklab(40.53% 0.1463 -0.0442)
OKLCHoklch(40.53% 0.153 343.2)
XYZxyz(10.6394, 5.7072, 11.1288)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C175E #177C35
analogous
#68177C #7C175E #7C172C
triadic
#7C175E #5E7C17 #175E7C
tetradic
#7C175E #7C6817 #177C35 #172C7C
square
#7C175E #7C6817 #177C35 #172C7C
split-complementary
#7C175E #2C7C17 #177C68
monochromatic
#1A0514 #480D37 #7C175E #B02185 #D934A8

Accessibility & contrast

On white

9.81
#7C175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C175E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C175E#FFFFFF#000000##FFFFFF
##7C175E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#43495C
Tritanopia (blue-blind)
#841739
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c175e;
/* rgb */ color: rgb(124, 23, 94);
/* oklch */ color: oklch(40.5% 0.153 343.2);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7c175e',
    950: '#000000',
  },
}
SCSS
$custom: #7c175e;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c175e",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 317.822,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.15285,
    "h": 343.2
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7C175E
secondary
#3EB160
accent
#EC703C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C175E

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

Preview Lab → · Contrast checker → · Palette generator →

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