#7C1239#7C1239

#7C1239 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.141 H 5.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7C1239
RGBrgb(124, 18, 57)
HSLhsl(338, 75%, 28%)
HSVhsv(338, 85%, 49%)
CMYKcmyk(0%, 85.5%, 54%, 51.4%)
CIE-LABlab(26.78, 45.76, 5.38)
CIE-LCHlch(26.78, 46.07, 6.71°)
OKLaboklab(38.71% 0.1399 0.014)
OKLCHoklch(38.71% 0.141 5.7)
XYZxyz(9.2679, 5.0144, 4.3500)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1239 #127C55
analogous
#7C126E #7C1239 #7C2012
triadic
#7C1239 #397C12 #12397C
tetradic
#7C1239 #6E7C12 #127C55 #20127C
square
#7C1239 #6E7C12 #127C55 #20127C
split-complementary
#7C1239 #127C20 #126E7C
monochromatic
#1B040C #470A20 #7C1239 #B11A52 #E0296C

Accessibility & contrast

On white

10.49
#7C1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1239
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1239#FFFFFF#000000##FFFFFF
##7C12391.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323A
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1239;
/* rgb */ color: rgb(124, 18, 57);
/* oklch */ color: oklch(38.7% 0.141 5.7);
Tailwind
colors: {
  custom: {
    50: '#a85e6f',
    500: '#7c1239',
    950: '#000000',
  },
}
SCSS
$custom: #7c1239;
$custom-light: #a85e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1239",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 337.925,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38705,
    "c": 0.14062,
    "h": 5.7
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#7C1239
secondary
#38B285
accent
#F1AD37
background
#FAF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1239

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

Preview Lab → · Contrast checker → · Palette generator →

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