#7C1E47#7C1E47

#7C1E47 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.133 H 358.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7C1E47
RGBrgb(124, 30, 71)
HSLhsl(334, 61%, 30%)
HSVhsv(334, 76%, 49%)
CMYKcmyk(0%, 75.8%, 42.7%, 51.4%)
CIE-LABlab(28.56, 43.28, -1.46)
CIE-LCHlch(28.56, 43.31, 358.07°)
OKLaboklab(40.16% 0.1328 -0.0033)
OKLCHoklch(40.16% 0.133 358.6)
XYZxyz(9.9145, 5.6698, 6.5323)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E47 #1E7C53
analogous
#7C1E76 #7C1E47 #7C241E
triadic
#7C1E47 #477C1E #1E477C
tetradic
#7C1E47 #767C1E #1E7C53 #241E7C
square
#7C1E47 #767C1E #1E7C53 #241E7C
split-complementary
#7C1E47 #1E7C24 #1E767C
monochromatic
#19060F #4B122B #7C1E47 #AD2A63 #D14381

Accessibility & contrast

On white

9.84
#7C1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E47
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E47#FFFFFF#000000##FFFFFF
##7C1E471.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#871130
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1e47;
/* rgb */ color: rgb(124, 30, 71);
/* oklch */ color: oklch(40.2% 0.133 358.6);
Tailwind
colors: {
  custom: {
    50: '#a6637a',
    500: '#7c1e47',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e47;
$custom-light: #a6637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e47",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 333.83,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.13288,
    "h": 358.6
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#7C1E47
secondary
#46AF82
accent
#E49E44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C1E47

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

Preview Lab → · Contrast checker → · Palette generator →

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