#7C1946#7C1946

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

Color values

HEX#7C1946
RGBrgb(124, 25, 70)
HSLhsl(333, 66%, 29%)
HSVhsv(333, 80%, 49%)
CMYKcmyk(0%, 79.8%, 43.5%, 51.4%)
CIE-LABlab(27.91, 44.92, -1.75)
CIE-LCHlch(27.91, 44.96, 357.76°)
OKLaboklab(39.67% 0.1381 -0.004)
OKLCHoklch(39.67% 0.138 358.3)
XYZxyz(9.7660, 5.4238, 6.3258)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1946 #197C4F
analogous
#7C1978 #7C1946 #7C1D19
triadic
#7C1946 #467C19 #19467C
tetradic
#7C1946 #787C19 #197C4F #1D197C
square
#7C1946 #787C19 #197C4F #1D197C
split-complementary
#7C1946 #197C1D #19787C
monochromatic
#19050E #490F29 #7C1946 #AF2363 #D73880

Accessibility & contrast

On white

10.07
#7C1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1946
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1946#FFFFFF#000000##FFFFFF
##7C19461.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#87082D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1946;
/* rgb */ color: rgb(124, 25, 70);
/* oklch */ color: oklch(39.7% 0.138 358.3);
Tailwind
colors: {
  custom: {
    50: '#a76179',
    500: '#7c1946',
    950: '#000000',
  },
}
SCSS
$custom: #7c1946;
$custom-light: #a76179;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1946",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 332.727,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.13813,
    "h": 358.3
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#7C1946
secondary
#40B07D
accent
#E99C3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1946

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

Preview Lab → · Contrast checker → · Palette generator →

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