#7F1335#7F1335

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

Color values

HEX#7F1335
RGBrgb(127, 19, 53)
HSLhsl(341, 74%, 29%)
HSVhsv(341, 85%, 50%)
CMYKcmyk(0%, 85%, 58.3%, 50.2%)
CIE-LABlab(27.40, 46.03, 9.06)
CIE-LCHlch(27.40, 46.91, 11.13°)
OKLaboklab(39.24% 0.1399 0.0229)
OKLCHoklch(39.24% 0.142 9.3)
XYZxyz(9.6288, 5.2362, 3.8712)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1335 #137F5D
analogous
#7F136B #7F1335 #7F2713
triadic
#7F1335 #357F13 #13357F
tetradic
#7F1335 #6B7F13 #137F5D #27137F
square
#7F1335 #6B7F13 #137F5D #27137F
split-complementary
#7F1335 #137F27 #136B7F
monochromatic
#1B040B #4A0B1F #7F1335 #B41B4B #E02D65

Accessibility & contrast

On white

10.26
#7F1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1335
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1335#FFFFFF#000000##FFFFFF
##7F13351.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1335;
/* rgb */ color: rgb(127, 19, 53);
/* oklch */ color: oklch(39.2% 0.142 9.3);
Tailwind
colors: {
  custom: {
    50: '#aa5f6b',
    500: '#7f1335',
    950: '#000000',
  },
}
SCSS
$custom: #7f1335;
$custom-light: #aa5f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1335",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 341.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.14172,
    "h": 9.3
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#7F1335
secondary
#39B48E
accent
#F1B637
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1335

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

Preview Lab → · Contrast checker → · Palette generator →

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