#7C175F#7C175F

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

Color values

HEX#7C175F
RGBrgb(124, 23, 95)
HSLhsl(317, 69%, 29%)
HSVhsv(317, 81%, 49%)
CMYKcmyk(0%, 81.5%, 23.4%, 51.4%)
CIE-LABlab(28.71, 48.60, -17.09)
CIE-LCHlch(28.71, 51.52, 340.63°)
OKLaboklab(40.58% 0.1465 -0.0458)
OKLCHoklch(40.58% 0.153 342.6)
XYZxyz(10.6845, 5.7252, 11.3667)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C175F #177C34
analogous
#67177C #7C175F #7C172D
triadic
#7C175F #5F7C17 #175F7C
tetradic
#7C175F #7C6717 #177C34 #172D7C
square
#7C175F #7C6717 #177C34 #172D7C
split-complementary
#7C175F #2D7C17 #177C67
monochromatic
#1A0514 #480D37 #7C175F #B02187 #D934AA

Accessibility & contrast

On white

9.79
#7C175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C175F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C175F#FFFFFF#000000##FFFFFF
##7C175F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#84183A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c175f;
/* rgb */ color: rgb(124, 23, 95);
/* oklch */ color: oklch(40.6% 0.153 342.6);
Tailwind
colors: {
  custom: {
    50: '#a6618c',
    500: '#7c175f',
    950: '#000000',
  },
}
SCSS
$custom: #7c175f;
$custom-light: #a6618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c175f",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 317.228,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40582,
    "c": 0.15349,
    "h": 342.6
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#7C175F
secondary
#3EB15F
accent
#EC6F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C175F

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

Preview Lab → · Contrast checker → · Palette generator →

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