#7C1938#7C1938

#7C1938 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 7.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7C1938
RGBrgb(124, 25, 56)
HSLhsl(341, 66%, 29%)
HSVhsv(341, 80%, 49%)
CMYKcmyk(0%, 79.8%, 54.8%, 51.4%)
CIE-LABlab(27.48, 43.59, 7.05)
CIE-LCHlch(27.48, 44.16, 9.19°)
OKLaboklab(39.22% 0.1328 0.0181)
OKLCHoklch(39.22% 0.134 7.8)
XYZxyz(9.3745, 5.2672, 4.2637)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1938 #197C5D
analogous
#7C196A #7C1938 #7C2C19
triadic
#7C1938 #387C19 #19387C
tetradic
#7C1938 #6A7C19 #197C5D #2C197C
square
#7C1938 #6A7C19 #197C5D #2C197C
split-complementary
#7C1938 #197C2C #196A7C
monochromatic
#19050C #490F21 #7C1938 #AF234F #D7386A

Accessibility & contrast

On white

10.23
#7C1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7C1938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1938
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1938#FFFFFF#000000##FFFFFF
##7C19381.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#880026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1938;
/* rgb */ color: rgb(124, 25, 56);
/* oklch */ color: oklch(39.2% 0.134 7.8);
Tailwind
colors: {
  custom: {
    50: '#a7606e',
    500: '#7c1938',
    950: '#000000',
  },
}
SCSS
$custom: #7c1938;
$custom-light: #a7606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1938",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 341.212,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39216,
    "c": 0.13402,
    "h": 7.8
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#7C1938
secondary
#40B08D
accent
#E9B43E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7C1938

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

Preview Lab → · Contrast checker → · Palette generator →

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