#7C1242#7C1242

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

Color values

HEX#7C1242
RGBrgb(124, 18, 66)
HSLhsl(333, 75%, 28%)
HSVhsv(333, 85%, 49%)
CMYKcmyk(0%, 85.5%, 46.8%, 51.4%)
CIE-LABlab(27.05, 46.57, -0.32)
CIE-LCHlch(27.05, 46.57, 359.60°)
OKLaboklab(39% 0.1433 -0.0003)
OKLCHoklch(39% 0.143 359.9)
XYZxyz(9.5126, 5.1124, 5.6391)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1242 #127C4C
analogous
#7C1277 #7C1242 #7C1712
triadic
#7C1242 #427C12 #12427C
tetradic
#7C1242 #777C12 #127C4C #17127C
square
#7C1242 #777C12 #127C4C #17127C
split-complementary
#7C1242 #127C17 #12777C
monochromatic
#1B040E #470A26 #7C1242 #B11A5E #E0297C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1242#FFFFFF#000000##FFFFFF
##7C12421.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)
#2D3343
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#870028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1242;
/* rgb */ color: rgb(124, 18, 66);
/* oklch */ color: oklch(39.0% 0.143 359.9);
Tailwind
colors: {
  custom: {
    50: '#a75e76',
    500: '#7c1242',
    950: '#000000',
  },
}
SCSS
$custom: #7c1242;
$custom-light: #a75e76;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1242",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 332.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.14329,
    "h": 359.9
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#7C1242
secondary
#38B27B
accent
#F19D37
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1242

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

Preview Lab → · Contrast checker → · Palette generator →

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