#7F1537#7F1537

#7F1537 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.140 H 8.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7F1537
RGBrgb(127, 21, 55)
HSLhsl(341, 72%, 29%)
HSVhsv(341, 83%, 50%)
CMYKcmyk(0%, 83.5%, 56.7%, 50.2%)
CIE-LABlab(27.64, 45.63, 8.05)
CIE-LCHlch(27.64, 46.34, 10.00°)
OKLaboklab(39.44% 0.1389 0.0205)
OKLCHoklch(39.44% 0.14 8.4)
XYZxyz(9.7111, 5.3256, 4.1303)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1537 #157F5D
analogous
#7F156C #7F1537 #7F2815
triadic
#7F1537 #377F15 #15377F
tetradic
#7F1537 #6C7F15 #157F5D #28157F
square
#7F1537 #6C7F15 #157F5D #28157F
split-complementary
#7F1537 #157F28 #156C7F
monochromatic
#1A040B #4A0C20 #7F1537 #B41E4E #DD3168

Accessibility & contrast

On white

10.17
#7F1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1537
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1537#FFFFFF#000000##FFFFFF
##7F15371.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323438
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1537;
/* rgb */ color: rgb(127, 21, 55);
/* oklch */ color: oklch(39.4% 0.140 8.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f6d',
    500: '#7f1537',
    950: '#000000',
  },
}
SCSS
$custom: #7f1537;
$custom-light: #aa5f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1537",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 340.755,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.14039,
    "h": 8.4
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#7F1537
secondary
#3CB48D
accent
#EEB439
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1537

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

Preview Lab → · Contrast checker → · Palette generator →

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