#7F1540#7F1540

#7F1540 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.143 H 2.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7F1540
RGBrgb(127, 21, 64)
HSLhsl(336, 72%, 29%)
HSVhsv(336, 83%, 50%)
CMYKcmyk(0%, 83.5%, 49.6%, 50.2%)
CIE-LABlab(27.90, 46.40, 2.33)
CIE-LCHlch(27.90, 46.46, 2.88°)
OKLaboklab(39.71% 0.1424 0.0065)
OKLCHoklch(39.71% 0.143 2.6)
XYZxyz(9.9468, 5.4199, 5.3719)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1540 #157F54
analogous
#7F1575 #7F1540 #7F1F15
triadic
#7F1540 #407F15 #15407F
tetradic
#7F1540 #757F15 #157F54 #1F157F
square
#7F1540 #757F15 #157F54 #1F157F
split-complementary
#7F1540 #157F1F #15757F
monochromatic
#1A040D #4A0C26 #7F1540 #B41E5A #DD3177

Accessibility & contrast

On white

10.08
#7F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1540
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1540#FFFFFF#000000##FFFFFF
##7F15401.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1540;
/* rgb */ color: rgb(127, 21, 64);
/* oklch */ color: oklch(39.7% 0.143 2.6);
Tailwind
colors: {
  custom: {
    50: '#a96074',
    500: '#7f1540',
    950: '#000000',
  },
}
SCSS
$custom: #7f1540;
$custom-light: #a96074;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1540",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 335.66,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39708,
    "c": 0.14256,
    "h": 2.6
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#7F1540
secondary
#3CB483
accent
#EEA539
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1540

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

Preview Lab → · Contrast checker → · Palette generator →

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