#7C1265#7C1265

#7C1265 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.162 H 339.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7C1265
RGBrgb(124, 18, 101)
HSLhsl(313, 75%, 28%)
HSVhsv(313, 85%, 49%)
CMYKcmyk(0%, 85.5%, 18.5%, 51.4%)
CIE-LABlab(28.53, 50.80, -21.27)
CIE-LCHlch(28.53, 55.07, 337.29°)
OKLaboklab(40.55% 0.1514 -0.0577)
OKLCHoklch(40.55% 0.162 339.2)
XYZxyz(10.8778, 5.6584, 12.8287)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1265 #127C29
analogous
#5E127C #7C1265 #7C1230
triadic
#7C1265 #657C12 #12657C
tetradic
#7C1265 #7C5E12 #127C29 #12307C
square
#7C1265 #7C5E12 #127C29 #12307C
split-complementary
#7C1265 #307C12 #127C5E
monochromatic
#1B0416 #470A39 #7C1265 #B11A91 #E029B8

Accessibility & contrast

On white

9.85
#7C1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1265
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1265#FFFFFF#000000##FFFFFF
##7C12651.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3967
Deuteranopia (green-blind)
#3F4963
Tritanopia (blue-blind)
#84183C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1265;
/* rgb */ color: rgb(124, 18, 101);
/* oklch */ color: oklch(40.6% 0.162 339.2);
Tailwind
colors: {
  custom: {
    50: '#a66091',
    500: '#7c1265',
    950: '#000000',
  },
}
SCSS
$custom: #7c1265;
$custom-light: #a66091;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1265",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 313.019,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.16204,
    "h": 339.2
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#7C1265
secondary
#38B252
accent
#F15F37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C1265

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

Preview Lab → · Contrast checker → · Palette generator →

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