#7C1338#7C1338

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

Color values

HEX#7C1338
RGBrgb(124, 19, 56)
HSLhsl(339, 73%, 28%)
HSVhsv(339, 85%, 49%)
CMYKcmyk(0%, 84.7%, 54.8%, 51.4%)
CIE-LABlab(26.84, 45.40, 6.15)
CIE-LCHlch(26.84, 45.82, 7.72°)
OKLaboklab(38.74% 0.1387 0.0159)
OKLCHoklch(38.74% 0.14 6.5)
XYZxyz(9.2597, 5.0377, 4.2254)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1338 #137C57
analogous
#7C136C #7C1338 #7C2213
triadic
#7C1338 #387C13 #13387C
tetradic
#7C1338 #6C7C13 #137C57 #22137C
square
#7C1338 #6C7C13 #137C57 #22137C
split-complementary
#7C1338 #137C22 #136C7C
monochromatic
#1B040C #470B20 #7C1338 #B11B50 #DF2B6A

Accessibility & contrast

On white

10.46
#7C1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1338
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1338#FFFFFF#000000##FFFFFF
##7C13381.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4B4735
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1338;
/* rgb */ color: rgb(124, 19, 56);
/* oklch */ color: oklch(38.7% 0.140 6.5);
Tailwind
colors: {
  custom: {
    50: '#a85e6e',
    500: '#7c1338',
    950: '#000000',
  },
}
SCSS
$custom: #7c1338;
$custom-light: #a85e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1338",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 338.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.13957,
    "h": 6.5
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#7C1338
secondary
#39B287
accent
#F0AF38
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1338

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

Preview Lab → · Contrast checker → · Palette generator →

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