#7C174B#7C174B

#7C174B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.142 H 354.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7C174B
RGBrgb(124, 23, 75)
HSLhsl(329, 69%, 29%)
HSVhsv(329, 81%, 49%)
CMYKcmyk(0%, 81.5%, 39.5%, 51.4%)
CIE-LABlab(27.86, 46.10, -5.17)
CIE-LCHlch(27.86, 46.39, 353.61°)
OKLaboklab(39.69% 0.1417 -0.013)
OKLCHoklch(39.69% 0.142 354.7)
XYZxyz(9.8893, 5.4071, 7.1782)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C174B #177C48
analogous
#7B177C #7C174B #7C1719
triadic
#7C174B #4B7C17 #174B7C
tetradic
#7C174B #7C7B17 #177C48 #17197C
square
#7C174B #7C7B17 #177C48 #17197C
split-complementary
#7C174B #197C17 #177C7B
monochromatic
#1A0510 #480D2C #7C174B #B0216A #D93489

Accessibility & contrast

On white

10.09
#7C174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C174B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C174B#FFFFFF#000000##FFFFFF
##7C174B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#86082F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c174b;
/* rgb */ color: rgb(124, 23, 75);
/* oklch */ color: oklch(39.7% 0.142 354.7);
Tailwind
colors: {
  custom: {
    50: '#a6607d',
    500: '#7c174b',
    950: '#000000',
  },
}
SCSS
$custom: #7c174b;
$custom-light: #a6607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c174b",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 329.109,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.14232,
    "h": 354.7
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#7C174B
secondary
#3EB176
accent
#EC913C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C174B

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

Preview Lab → · Contrast checker → · Palette generator →

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