#7C1F49#7C1F49

#7C1F49 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.132 H 357.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7C1F49
RGBrgb(124, 31, 73)
HSLhsl(333, 60%, 30%)
HSVhsv(333, 75%, 49%)
CMYKcmyk(0%, 75%, 41.1%, 51.4%)
CIE-LABlab(28.77, 43.13, -2.49)
CIE-LCHlch(28.77, 43.20, 356.69°)
OKLaboklab(40.33% 0.1323 -0.006)
OKLCHoklch(40.33% 0.132 357.4)
XYZxyz(10.0055, 5.7473, 6.8845)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F49 #1F7C52
analogous
#7C1F77 #7C1F49 #7C231F
triadic
#7C1F49 #497C1F #1F497C
tetradic
#7C1F49 #777C1F #1F7C52 #231F7C
square
#7C1F49 #777C1F #1F7C52 #231F7C
split-complementary
#7C1F49 #1F7C23 #1F777C
monochromatic
#1A070F #4B132C #7C1F49 #AD2B66 #D04584

Accessibility & contrast

On white

9.77
#7C1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F49
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F49#FFFFFF#000000##FFFFFF
##7C1F491.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#861431
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1f49;
/* rgb */ color: rgb(124, 31, 73);
/* oklch */ color: oklch(40.3% 0.132 357.4);
Tailwind
colors: {
  custom: {
    50: '#a6637b',
    500: '#7c1f49',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f49;
$custom-light: #a6637b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f49",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 332.903,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.13248,
    "h": 357.4
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#7C1F49
secondary
#48AF80
accent
#E39C45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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