#7C1234#7C1234

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

Color values

HEX#7C1234
RGBrgb(124, 18, 52)
HSLhsl(341, 75%, 28%)
HSVhsv(341, 85%, 49%)
CMYKcmyk(0%, 85.5%, 58.1%, 51.4%)
CIE-LABlab(26.64, 45.35, 8.59)
CIE-LCHlch(26.64, 46.16, 10.73°)
OKLaboklab(38.56% 0.1379 0.0217)
OKLCHoklch(38.56% 0.14 9)
XYZxyz(9.1492, 4.9670, 3.7251)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1234 #127C5A
analogous
#7C1269 #7C1234 #7C2512
triadic
#7C1234 #347C12 #12347C
tetradic
#7C1234 #697C12 #127C5A #25127C
square
#7C1234 #697C12 #127C5A #25127C
split-complementary
#7C1234 #127C25 #12697C
monochromatic
#1B040B #470A1E #7C1234 #B11A4A #E02963

Accessibility & contrast

On white

10.54
#7C1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1234
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1234#FFFFFF#000000##FFFFFF
##7C12341.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303135
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1234;
/* rgb */ color: rgb(124, 18, 52);
/* oklch */ color: oklch(38.6% 0.140 9.0);
Tailwind
colors: {
  custom: {
    50: '#a85e6b',
    500: '#7c1234',
    950: '#000000',
  },
}
SCSS
$custom: #7c1234;
$custom-light: #a85e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1234",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 340.755,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.13961,
    "h": 9
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#7C1234
secondary
#38B28B
accent
#F1B537
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1234

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

Preview Lab → · Contrast checker → · Palette generator →

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