#7C1838#7C1838

#7C1838 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.135 H 7.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7C1838
RGBrgb(124, 24, 56)
HSLhsl(341, 68%, 29%)
HSVhsv(341, 81%, 49%)
CMYKcmyk(0%, 80.6%, 54.8%, 51.4%)
CIE-LABlab(27.37, 43.92, 6.89)
CIE-LCHlch(27.37, 44.45, 8.92°)
OKLaboklab(39.13% 0.1338 0.0177)
OKLCHoklch(39.13% 0.135 7.5)
XYZxyz(9.3535, 5.2252, 4.2567)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1838 #187C5C
analogous
#7C186A #7C1838 #7C2A18
triadic
#7C1838 #387C18 #18387C
tetradic
#7C1838 #6A7C18 #187C5C #2A187C
square
#7C1838 #6A7C18 #187C5C #2A187C
split-complementary
#7C1838 #187C2A #186A7C
monochromatic
#1A050C #490E21 #7C1838 #AF224F #D8366A

Accessibility & contrast

On white

10.27
#7C1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1838
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1838#FFFFFF#000000##FFFFFF
##7C18381.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1838;
/* rgb */ color: rgb(124, 24, 56);
/* oklch */ color: oklch(39.1% 0.135 7.5);
Tailwind
colors: {
  custom: {
    50: '#a7606e',
    500: '#7c1838',
    950: '#000000',
  },
}
SCSS
$custom: #7c1838;
$custom-light: #a7606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1838",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 340.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.13501,
    "h": 7.5
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#7C1838
secondary
#3FB18C
accent
#EAB33D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1838

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

Preview Lab → · Contrast checker → · Palette generator →

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