#7F1236#7F1236

#7F1236 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.143 H 8.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7F1236
RGBrgb(127, 18, 54)
HSLhsl(340, 75%, 28%)
HSVhsv(340, 86%, 50%)
CMYKcmyk(0%, 85.8%, 57.5%, 50.2%)
CIE-LABlab(27.33, 46.37, 8.29)
CIE-LCHlch(27.33, 47.10, 10.14°)
OKLaboklab(39.2% 0.1411 0.021)
OKLCHoklch(39.2% 0.143 8.5)
XYZxyz(9.6355, 5.2124, 3.9880)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1236 #127F5B
analogous
#7F126C #7F1236 #7F2412
triadic
#7F1236 #367F12 #12367F
tetradic
#7F1236 #6C7F12 #127F5B #24127F
square
#7F1236 #6C7F12 #127F5B #24127F
split-complementary
#7F1236 #127F24 #126C7F
monochromatic
#1B040B #490A1F #7F1236 #B51A4D #E12B67

Accessibility & contrast

On white

10.28
#7F1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1236
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1236#FFFFFF#000000##FFFFFF
##7F12361.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313337
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1236;
/* rgb */ color: rgb(127, 18, 54);
/* oklch */ color: oklch(39.2% 0.143 8.5);
Tailwind
colors: {
  custom: {
    50: '#aa5e6c',
    500: '#7f1236',
    950: '#000000',
  },
}
SCSS
$custom: #7f1236;
$custom-light: #aa5e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1236",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 340.183,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.14268,
    "h": 8.5
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#7F1236
secondary
#38B58C
accent
#F2B436
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1236

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

Preview Lab → · Contrast checker → · Palette generator →

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