#7C1267#7C1267

#7C1267 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 338.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7C1267
RGBrgb(124, 18, 103)
HSLhsl(312, 75%, 28%)
HSVhsv(312, 85%, 49%)
CMYKcmyk(0%, 85.5%, 16.9%, 51.4%)
CIE-LABlab(28.64, 51.09, -22.40)
CIE-LCHlch(28.64, 55.78, 336.32°)
OKLaboklab(40.66% 0.1516 -0.0609)
OKLCHoklch(40.66% 0.163 338.1)
XYZxyz(10.9769, 5.6981, 13.3511)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1267 #127C27
analogous
#5C127C #7C1267 #7C1232
triadic
#7C1267 #677C12 #12677C
tetradic
#7C1267 #7C5C12 #127C27 #12327C
square
#7C1267 #7C5C12 #127C27 #12327C
split-complementary
#7C1267 #327C12 #127C5C
monochromatic
#1B0416 #470A3B #7C1267 #B11A93 #E029BC

Accessibility & contrast

On white

9.82
#7C1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1267
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1267#FFFFFF#000000##FFFFFF
##7C12671.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183969
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#83193D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1267;
/* rgb */ color: rgb(124, 18, 103);
/* oklch */ color: oklch(40.7% 0.163 338.1);
Tailwind
colors: {
  custom: {
    50: '#a66092',
    500: '#7c1267',
    950: '#000000',
  },
}
SCSS
$custom: #7c1267;
$custom-light: #a66092;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1267",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 311.887,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.16339,
    "h": 338.1
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#7C1267
secondary
#38B250
accent
#F15C37
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C1267

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

Preview Lab → · Contrast checker → · Palette generator →

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