#7C1031#7C1031

#7C1031 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 10.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#7C1031
RGBrgb(124, 16, 49)
HSLhsl(342, 77%, 27%)
HSVhsv(342, 87%, 49%)
CMYKcmyk(0%, 87.1%, 60.5%, 51.4%)
CIE-LABlab(26.39, 45.64, 10.28)
CIE-LCHlch(26.39, 46.78, 12.70°)
OKLaboklab(38.35% 0.1383 0.0257)
OKLCHoklch(38.35% 0.141 10.5)
XYZxyz(9.0528, 4.8788, 3.3702)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1031 #107C5B
analogous
#7C1067 #7C1031 #7C2510
triadic
#7C1031 #317C10 #10317C
tetradic
#7C1031 #677C10 #107C5B #25107C
square
#7C1031 #677C10 #107C5B #25107C
split-complementary
#7C1031 #107C25 #10677C
monochromatic
#1B030B #46091C #7C1031 #B21746 #E3245E

Accessibility & contrast

On white

10.63
#7C1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7C1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1031
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1031#FFFFFF#000000##FFFFFF
##7C10311.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303131
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7c1031;
/* rgb */ color: rgb(124, 16, 49);
/* oklch */ color: oklch(38.4% 0.141 10.5);
Tailwind
colors: {
  custom: {
    50: '#a85d68',
    500: '#7c1031',
    950: '#000000',
  },
}
SCSS
$custom: #7c1031;
$custom-light: #a85d68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1031",
  "rgb": {
    "r": 124,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 341.667,
    "s": 77.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.14068,
    "h": 10.5
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#7C1031
secondary
#35B28C
accent
#F4B934
background
#FBF5F6
surface
#F6E9EB
border
#D0C5C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1031

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

Preview Lab → · Contrast checker → · Palette generator →

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