#7C1231#7C1231

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

Color values

HEX#7C1231
RGBrgb(124, 18, 49)
HSLhsl(342, 75%, 28%)
HSVhsv(342, 85%, 49%)
CMYKcmyk(0%, 85.5%, 60.5%, 51.4%)
CIE-LABlab(26.57, 45.13, 10.53)
CIE-LCHlch(26.57, 46.34, 13.13°)
OKLaboklab(38.48% 0.1367 0.0263)
OKLCHoklch(38.48% 0.139 10.9)
XYZxyz(9.0838, 4.9408, 3.3805)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1231 #127C5D
analogous
#7C1266 #7C1231 #7C2812
triadic
#7C1231 #317C12 #12317C
tetradic
#7C1231 #667C12 #127C5D #28127C
square
#7C1231 #667C12 #127C5D #28127C
split-complementary
#7C1231 #127C28 #12667C
monochromatic
#1B040B #470A1C #7C1231 #B11A46 #E0295E

Accessibility & contrast

On white

10.56
#7C1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1231
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1231#FFFFFF#000000##FFFFFF
##7C12311.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313131
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1231;
/* rgb */ color: rgb(124, 18, 49);
/* oklch */ color: oklch(38.5% 0.139 10.9);
Tailwind
colors: {
  custom: {
    50: '#a85e68',
    500: '#7c1231',
    950: '#000000',
  },
}
SCSS
$custom: #7c1231;
$custom-light: #a85e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1231",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 342.453,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.13916,
    "h": 10.9
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#7C1231
secondary
#38B28E
accent
#F1BB37
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1231

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

Preview Lab → · Contrast checker → · Palette generator →

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