#7C1A5E#7C1A5E

#7C1A5E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.150 H 343.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7C1A5E
RGBrgb(124, 26, 94)
HSLhsl(318, 65%, 29%)
HSVhsv(318, 79%, 49%)
CMYKcmyk(0%, 79%, 24.2%, 51.4%)
CIE-LABlab(28.99, 47.53, -16.00)
CIE-LCHlch(28.99, 50.15, 341.39°)
OKLaboklab(40.77% 0.1434 -0.0428)
OKLCHoklch(40.77% 0.15 343.4)
XYZxyz(10.7024, 5.8332, 11.1498)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A5E #1A7C38
analogous
#691A7C #7C1A5E #7C1A2D
triadic
#7C1A5E #5E7C1A #1A5E7C
tetradic
#7C1A5E #7C691A #1A7C38 #1A2D7C
square
#7C1A5E #7C691A #1A7C38 #1A2D7C
split-complementary
#7C1A5E #2D7C1A #1A7C69
monochromatic
#190513 #490F38 #7C1A5E #AF2584 #D63BA6

Accessibility & contrast

On white

9.69
#7C1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A5E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A5E#FFFFFF#000000##FFFFFF
##7C1A5E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#841A3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1a5e;
/* rgb */ color: rgb(124, 26, 94);
/* oklch */ color: oklch(40.8% 0.150 343.4);
Tailwind
colors: {
  custom: {
    50: '#a6628b',
    500: '#7c1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a5e;
$custom-light: #a6628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a5e",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 318.367,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.14969,
    "h": 343.4
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#7C1A5E
secondary
#42B063
accent
#E87340
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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