#7C2139#7C2139

#7C2139 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.0% C 0.125 H 9.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7C2139
RGBrgb(124, 33, 57)
HSLhsl(344, 58%, 31%)
HSVhsv(344, 73%, 49%)
CMYKcmyk(0%, 73.4%, 54%, 51.4%)
CIE-LABlab(28.56, 40.73, 7.89)
CIE-LCHlch(28.56, 41.49, 10.97°)
OKLaboklab(40.02% 0.1237 0.0202)
OKLCHoklch(40.02% 0.125 9.3)
XYZxyz(9.5954, 5.6695, 4.4591)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2139 #217C64
analogous
#7C2166 #7C2139 #7C3621
triadic
#7C2139 #397C21 #21397C
tetradic
#7C2139 #667C21 #217C64 #36217C
square
#7C2139 #667C21 #217C64 #36217C
split-complementary
#7C2139 #217C36 #21667C
monochromatic
#1B070D #4C1423 #7C2139 #AC2E4F #CF496C

Accessibility & contrast

On white

9.84
#7C2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2139
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2139#FFFFFF#000000##FFFFFF
##7C21391.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#4F4A37
Tritanopia (blue-blind)
#880E2B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2139;
/* rgb */ color: rgb(124, 33, 57);
/* oklch */ color: oklch(40.0% 0.125 9.3);
Tailwind
colors: {
  custom: {
    50: '#a7646f',
    500: '#7c2139',
    950: '#000000',
  },
}
SCSS
$custom: #7c2139;
$custom-light: #a7646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2139",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 344.176,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.12538,
    "h": 9.3
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#7C2139
secondary
#4AAF94
accent
#E1B847
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7C2139

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

Preview Lab → · Contrast checker → · Palette generator →

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