#7F1A37#7F1A37

#7F1A37 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.136 H 9.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7F1A37
RGBrgb(127, 26, 55)
HSLhsl(343, 66%, 30%)
HSVhsv(343, 80%, 50%)
CMYKcmyk(0%, 79.5%, 56.7%, 50.2%)
CIE-LABlab(28.19, 44.09, 8.81)
CIE-LCHlch(28.19, 44.96, 11.30°)
OKLaboklab(39.84% 0.1339 0.0223)
OKLCHoklch(39.84% 0.136 9.5)
XYZxyz(9.8123, 5.5281, 4.1640)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A37 #1A7F62
analogous
#7F1A6A #7F1A37 #7F2F1A
triadic
#7F1A37 #377F1A #1A377F
tetradic
#7F1A37 #6A7F1A #1A7F62 #2F1A7F
square
#7F1A37 #6A7F1A #1A7F62 #2F1A7F
split-complementary
#7F1A37 #1A7F2F #1A6A7F
monochromatic
#19050B #4C1021 #7F1A37 #B2244D #D73C69

Accessibility & contrast

On white

9.97
#7F1A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A37
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A37#FFFFFF#000000##FFFFFF
##7F1A371.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353537
Deuteranopia (green-blind)
#4F4A34
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1a37;
/* rgb */ color: rgb(127, 26, 55);
/* oklch */ color: oklch(39.8% 0.136 9.5);
Tailwind
colors: {
  custom: {
    50: '#aa616d',
    500: '#7f1a37',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a37;
$custom-light: #aa616d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a37",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 342.772,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39839,
    "c": 0.13575,
    "h": 9.5
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#7F1A37
secondary
#42B392
accent
#E9B83F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1A37

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

Preview Lab → · Contrast checker → · Palette generator →

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