#7F1541#7F1541

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

Color values

HEX#7F1541
RGBrgb(127, 21, 65)
HSLhsl(335, 72%, 29%)
HSVhsv(335, 83%, 50%)
CMYKcmyk(0%, 83.5%, 48.8%, 50.2%)
CIE-LABlab(27.93, 46.50, 1.71)
CIE-LCHlch(27.93, 46.53, 2.10°)
OKLaboklab(39.74% 0.1428 0.0049)
OKLCHoklch(39.74% 0.143 2)
XYZxyz(9.9755, 5.4314, 5.5231)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1541 #157F53
analogous
#7F1576 #7F1541 #7F1E15
triadic
#7F1541 #417F15 #15417F
tetradic
#7F1541 #767F15 #157F53 #1E157F
square
#7F1541 #767F15 #157F53 #1E157F
split-complementary
#7F1541 #157F1E #15767F
monochromatic
#1A040D #4A0C26 #7F1541 #B41E5C #DD3179

Accessibility & contrast

On white

10.07
#7F1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1541
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1541#FFFFFF#000000##FFFFFF
##7F15411.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1541;
/* rgb */ color: rgb(127, 21, 65);
/* oklch */ color: oklch(39.7% 0.143 2.0);
Tailwind
colors: {
  custom: {
    50: '#a96075',
    500: '#7f1541',
    950: '#000000',
  },
}
SCSS
$custom: #7f1541;
$custom-light: #a96075;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1541",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 335.094,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.14286,
    "h": 2
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#7F1541
secondary
#3CB482
accent
#EEA339
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1541

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

Preview Lab → · Contrast checker → · Palette generator →

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