#7F1539#7F1539

#7F1539 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.141 H 7.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7F1539
RGBrgb(127, 21, 57)
HSLhsl(340, 72%, 29%)
HSVhsv(340, 83%, 50%)
CMYKcmyk(0%, 83.5%, 55.1%, 50.2%)
CIE-LABlab(27.70, 45.79, 6.77)
CIE-LCHlch(27.70, 46.29, 8.41°)
OKLaboklab(39.49% 0.1397 0.0174)
OKLCHoklch(39.49% 0.141 7.1)
XYZxyz(9.7600, 5.3452, 4.3879)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1539 #157F5B
analogous
#7F156E #7F1539 #7F2615
triadic
#7F1539 #397F15 #15397F
tetradic
#7F1539 #6E7F15 #157F5B #26157F
square
#7F1539 #6E7F15 #157F5B #26157F
split-complementary
#7F1539 #157F26 #156E7F
monochromatic
#1A040C #4A0C21 #7F1539 #B41E51 #DD316C

Accessibility & contrast

On white

10.15
#7F1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1539
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1539#FFFFFF#000000##FFFFFF
##7F15391.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4D4936
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1539;
/* rgb */ color: rgb(127, 21, 57);
/* oklch */ color: oklch(39.5% 0.141 7.1);
Tailwind
colors: {
  custom: {
    50: '#aa5f6f',
    500: '#7f1539',
    950: '#000000',
  },
}
SCSS
$custom: #7f1539;
$custom-light: #aa5f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1539",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 339.623,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39493,
    "c": 0.14078,
    "h": 7.1
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#7F1539
secondary
#3CB48B
accent
#EEB139
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1539

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

Preview Lab → · Contrast checker → · Palette generator →

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