#7C1731#7C1731

#7C1731 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.135 H 11.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7C1731
RGBrgb(124, 23, 49)
HSLhsl(345, 69%, 29%)
HSVhsv(345, 81%, 49%)
CMYKcmyk(0%, 81.5%, 60.5%, 51.4%)
CIE-LABlab(27.08, 43.68, 11.23)
CIE-LCHlch(27.08, 45.10, 14.41°)
OKLaboklab(38.86% 0.132 0.0279)
OKLCHoklch(38.86% 0.135 11.9)
XYZxyz(9.1739, 5.1210, 3.4105)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1731 #177C62
analogous
#7C1764 #7C1731 #7C3017
triadic
#7C1731 #317C17 #17317C
tetradic
#7C1731 #647C17 #177C62 #30177C
square
#7C1731 #647C17 #177C62 #30177C
split-complementary
#7C1731 #177C30 #17647C
monochromatic
#1A050A #480D1D #7C1731 #B02145 #D9345F

Accessibility & contrast

On white

10.38
#7C1731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7C1731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1731
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1731#FFFFFF#000000##FFFFFF
##7C17311.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333331
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#880022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1731;
/* rgb */ color: rgb(124, 23, 49);
/* oklch */ color: oklch(38.9% 0.135 11.9);
Tailwind
colors: {
  custom: {
    50: '#a85f68',
    500: '#7c1731',
    950: '#000000',
  },
}
SCSS
$custom: #7c1731;
$custom-light: #a85f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1731",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 344.554,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.13489,
    "h": 11.9
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#7C1731
secondary
#3EB193
accent
#ECBE3C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1731

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

Preview Lab → · Contrast checker → · Palette generator →

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