#7C1241#7C1241

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

Color values

HEX#7C1241
RGBrgb(124, 18, 65)
HSLhsl(333, 75%, 28%)
HSVhsv(333, 85%, 49%)
CMYKcmyk(0%, 85.5%, 47.6%, 51.4%)
CIE-LABlab(27.02, 46.48, 0.31)
CIE-LCHlch(27.02, 46.48, 0.38°)
OKLaboklab(38.96% 0.1429 0.0013)
OKLCHoklch(38.96% 0.143 0.5)
XYZxyz(9.4834, 5.1007, 5.4852)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1241 #127C4D
analogous
#7C1276 #7C1241 #7C1812
triadic
#7C1241 #417C12 #12417C
tetradic
#7C1241 #767C12 #127C4D #18127C
square
#7C1241 #767C12 #127C4D #18127C
split-complementary
#7C1241 #127C18 #12767C
monochromatic
#1B040E #470A25 #7C1241 #B11A5D #E0297A

Accessibility & contrast

On white

10.40
#7C1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1241
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1241#FFFFFF#000000##FFFFFF
##7C12411.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3342
Deuteranopia (green-blind)
#49473F
Tritanopia (blue-blind)
#870028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1241;
/* rgb */ color: rgb(124, 18, 65);
/* oklch */ color: oklch(39.0% 0.143 0.5);
Tailwind
colors: {
  custom: {
    50: '#a75e75',
    500: '#7c1241',
    950: '#000000',
  },
}
SCSS
$custom: #7c1241;
$custom-light: #a75e75;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1241",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 333.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.14295,
    "h": 0.5
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#7C1241
secondary
#38B27C
accent
#F19E37
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1241

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

Preview Lab → · Contrast checker → · Palette generator →

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