#7C1138#7C1138

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

Color values

HEX#7C1138
RGBrgb(124, 17, 56)
HSLhsl(338, 76%, 28%)
HSVhsv(338, 86%, 49%)
CMYKcmyk(0%, 86.3%, 54.8%, 51.4%)
CIE-LABlab(26.66, 45.93, 5.89)
CIE-LCHlch(26.66, 46.31, 7.31°)
OKLaboklab(38.61% 0.1404 0.0153)
OKLCHoklch(38.61% 0.141 6.2)
XYZxyz(9.2273, 4.9729, 4.2146)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1138 #117C55
analogous
#7C116D #7C1138 #7C1F11
triadic
#7C1138 #387C11 #11387C
tetradic
#7C1138 #6D7C11 #117C55 #1F117C
square
#7C1138 #6D7C11 #117C55 #1F117C
split-complementary
#7C1138 #117C1F #116D7C
monochromatic
#1B040C #460A20 #7C1138 #B21850 #E1266A

Accessibility & contrast

On white

10.53
#7C1138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7C1138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1138
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1138#FFFFFF#000000##FFFFFF
##7C11381.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#4B4635
Tritanopia (blue-blind)
#880023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1138;
/* rgb */ color: rgb(124, 17, 56);
/* oklch */ color: oklch(38.6% 0.141 6.2);
Tailwind
colors: {
  custom: {
    50: '#a85d6e',
    500: '#7c1138',
    950: '#000000',
  },
}
SCSS
$custom: #7c1138;
$custom-light: #a85d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1138",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 338.131,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.14119,
    "h": 6.2
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#7C1138
secondary
#37B285
accent
#F2AE35
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1138

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

Preview Lab → · Contrast checker → · Palette generator →

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