#7C175B#7C175B

#7C175B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.151 H 344.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7C175B
RGBrgb(124, 23, 91)
HSLhsl(320, 69%, 29%)
HSVhsv(320, 81%, 49%)
CMYKcmyk(0%, 81.5%, 26.6%, 51.4%)
CIE-LABlab(28.52, 48.06, -14.76)
CIE-LCHlch(28.52, 50.27, 342.93°)
OKLaboklab(40.39% 0.1458 -0.0393)
OKLCHoklch(40.39% 0.151 344.9)
XYZxyz(10.5074, 5.6544, 10.4336)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C175B #177C38
analogous
#6B177C #7C175B #7C1729
triadic
#7C175B #5B7C17 #175B7C
tetradic
#7C175B #7C6B17 #177C38 #17297C
square
#7C175B #7C6B17 #177C38 #17297C
split-complementary
#7C175B #297C17 #177C6B
monochromatic
#1A0513 #480D35 #7C175B #B02181 #D934A3

Accessibility & contrast

On white

9.86
#7C175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C175B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C175B#FFFFFF#000000##FFFFFF
##7C175B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#851537
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c175b;
/* rgb */ color: rgb(124, 23, 91);
/* oklch */ color: oklch(40.4% 0.151 344.9);
Tailwind
colors: {
  custom: {
    50: '#a66189',
    500: '#7c175b',
    950: '#000000',
  },
}
SCSS
$custom: #7c175b;
$custom-light: #a66189;
$custom-dark: #000000;
JSON
{
  "hex": "#7c175b",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 319.604,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.15097,
    "h": 344.9
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#7C175B
secondary
#3EB164
accent
#EC763C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C175B

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

Preview Lab → · Contrast checker → · Palette generator →

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