#7C1540#7C1540

#7C1540 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.140 H 1.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7C1540
RGBrgb(124, 21, 64)
HSLhsl(335, 71%, 28%)
HSVhsv(335, 83%, 49%)
CMYKcmyk(0%, 83.1%, 48.4%, 51.4%)
CIE-LABlab(27.28, 45.55, 1.36)
CIE-LCHlch(27.28, 45.57, 1.71°)
OKLaboklab(39.14% 0.1399 0.004)
OKLCHoklch(39.14% 0.14 1.6)
XYZxyz(9.5066, 5.1929, 5.3512)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1540 #157C51
analogous
#7C1573 #7C1540 #7C1D15
triadic
#7C1540 #407C15 #15407C
tetradic
#7C1540 #737C15 #157C51 #1D157C
square
#7C1540 #737C15 #157C51 #1D157C
split-complementary
#7C1540 #157C1D #15737C
monochromatic
#1A040E #480C25 #7C1540 #B01E5B #DC3077

Accessibility & contrast

On white

10.30
#7C1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1540
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1540#FFFFFF#000000##FFFFFF
##7C15401.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#870029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1540;
/* rgb */ color: rgb(124, 21, 64);
/* oklch */ color: oklch(39.1% 0.140 1.6);
Tailwind
colors: {
  custom: {
    50: '#a75f74',
    500: '#7c1540',
    950: '#000000',
  },
}
SCSS
$custom: #7c1540;
$custom-light: #a75f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1540",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 334.951,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.13997,
    "h": 1.6
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#7C1540
secondary
#3CB180
accent
#EEA33A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1540

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

Preview Lab → · Contrast checker → · Palette generator →

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