#7C1232#7C1232

#7C1232 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.5% C 0.139 H 10.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7C1232
RGBrgb(124, 18, 50)
HSLhsl(342, 75%, 28%)
HSVhsv(342, 85%, 49%)
CMYKcmyk(0%, 85.5%, 59.7%, 51.4%)
CIE-LABlab(26.59, 45.20, 9.88)
CIE-LCHlch(26.59, 46.27, 12.33°)
OKLaboklab(38.51% 0.1371 0.0248)
OKLCHoklch(38.51% 0.139 10.2)
XYZxyz(9.1051, 4.9493, 3.4929)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1232 #127C5C
analogous
#7C1267 #7C1232 #7C2712
triadic
#7C1232 #327C12 #12327C
tetradic
#7C1232 #677C12 #127C5C #27127C
square
#7C1232 #677C12 #127C5C #27127C
split-complementary
#7C1232 #127C27 #12677C
monochromatic
#1B040B #470A1C #7C1232 #B11A48 #E02960

Accessibility & contrast

On white

10.55
#7C1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1232
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1232#FFFFFF#000000##FFFFFF
##7C12321.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1232;
/* rgb */ color: rgb(124, 18, 50);
/* oklch */ color: oklch(38.5% 0.139 10.2);
Tailwind
colors: {
  custom: {
    50: '#a85e69',
    500: '#7c1232',
    950: '#000000',
  },
}
SCSS
$custom: #7c1232;
$custom-light: #a85e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1232",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 341.887,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.1393,
    "h": 10.2
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#7C1232
secondary
#38B28D
accent
#F1B937
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1232

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

Preview Lab → · Contrast checker → · Palette generator →

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