#7C1438#7C1438

#7C1438 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.139 H 6.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7C1438
RGBrgb(124, 20, 56)
HSLhsl(339, 72%, 28%)
HSVhsv(339, 84%, 49%)
CMYKcmyk(0%, 83.9%, 54.8%, 51.4%)
CIE-LABlab(26.94, 45.13, 6.29)
CIE-LCHlch(26.94, 45.56, 7.94°)
OKLaboklab(38.82% 0.1378 0.0163)
OKLCHoklch(38.82% 0.139 6.7)
XYZxyz(9.2770, 5.0723, 4.2312)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1438 #147C58
analogous
#7C146C #7C1438 #7C2414
triadic
#7C1438 #387C14 #14387C
tetradic
#7C1438 #6C7C14 #147C58 #24147C
square
#7C1438 #6C7C14 #147C58 #24147C
split-complementary
#7C1438 #147C24 #146C7C
monochromatic
#1A040C #470B20 #7C1438 #B11D50 #DD2D6A

Accessibility & contrast

On white

10.43
#7C1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1438
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1438#FFFFFF#000000##FFFFFF
##7C14381.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#4B4735
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1438;
/* rgb */ color: rgb(124, 20, 56);
/* oklch */ color: oklch(38.8% 0.139 6.7);
Tailwind
colors: {
  custom: {
    50: '#a85e6e',
    500: '#7c1438',
    950: '#000000',
  },
}
SCSS
$custom: #7c1438;
$custom-light: #a85e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1438",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 339.231,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.13871,
    "h": 6.7
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#7C1438
secondary
#3AB288
accent
#EFB039
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1438

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

Preview Lab → · Contrast checker → · Palette generator →

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