#7C2149#7C2149

#7C2149 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.130 H 357.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C2149
RGBrgb(124, 33, 73)
HSLhsl(334, 58%, 31%)
HSVhsv(334, 73%, 49%)
CMYKcmyk(0%, 73.4%, 41.1%, 51.4%)
CIE-LABlab(29.04, 42.35, -2.08)
CIE-LCHlch(29.04, 42.40, 357.18°)
OKLaboklab(40.53% 0.1299 -0.0049)
OKLCHoklch(40.53% 0.13 357.8)
XYZxyz(10.0593, 5.8551, 6.9025)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2149 #217C54
analogous
#7C2176 #7C2149 #7C2621
triadic
#7C2149 #497C21 #21497C
tetradic
#7C2149 #767C21 #217C54 #26217C
square
#7C2149 #767C21 #217C54 #26217C
split-complementary
#7C2149 #217C26 #21767C
monochromatic
#1B0710 #4C142D #7C2149 #AC2E65 #CF4984

Accessibility & contrast

On white

9.67
#7C2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2149
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2149#FFFFFF#000000##FFFFFF
##7C21491.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4A
Deuteranopia (green-blind)
#4C4B47
Tritanopia (blue-blind)
#861632
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c2149;
/* rgb */ color: rgb(124, 33, 73);
/* oklch */ color: oklch(40.5% 0.130 357.8);
Tailwind
colors: {
  custom: {
    50: '#a6647b',
    500: '#7c2149',
    950: '#000000',
  },
}
SCSS
$custom: #7c2149;
$custom-light: #a6647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2149",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 333.626,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.12996,
    "h": 357.8
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#7C2149
secondary
#4AAF82
accent
#E19D47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C2149

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

Preview Lab → · Contrast checker → · Palette generator →

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