#7C1236#7C1236

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

Color values

HEX#7C1236
RGBrgb(124, 18, 54)
HSLhsl(340, 75%, 28%)
HSVhsv(340, 85%, 49%)
CMYKcmyk(0%, 85.5%, 56.5%, 51.4%)
CIE-LABlab(26.69, 45.51, 7.30)
CIE-LCHlch(26.69, 46.09, 9.12°)
OKLaboklab(38.62% 0.1387 0.0187)
OKLCHoklch(38.62% 0.14 7.7)
XYZxyz(9.1952, 4.9854, 3.9674)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1236 #127C58
analogous
#7C126B #7C1236 #7C2312
triadic
#7C1236 #367C12 #12367C
tetradic
#7C1236 #6B7C12 #127C58 #23127C
square
#7C1236 #6B7C12 #127C58 #23127C
split-complementary
#7C1236 #127C23 #126B7C
monochromatic
#1B040C #470A1F #7C1236 #B11A4D #E02967

Accessibility & contrast

On white

10.52
#7C1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1236
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1236#FFFFFF#000000##FFFFFF
##7C12361.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303237
Deuteranopia (green-blind)
#4B4733
Tritanopia (blue-blind)
#880022
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1236;
/* rgb */ color: rgb(124, 18, 54);
/* oklch */ color: oklch(38.6% 0.140 7.7);
Tailwind
colors: {
  custom: {
    50: '#a85e6c',
    500: '#7c1236',
    950: '#000000',
  },
}
SCSS
$custom: #7c1236;
$custom-light: #a85e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1236",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 339.623,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.13997,
    "h": 7.7
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#7C1236
secondary
#38B288
accent
#F1B237
background
#FBF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1236

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

Preview Lab → · Contrast checker → · Palette generator →

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