#7F1535#7F1535

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

Color values

HEX#7F1535
RGBrgb(127, 21, 53)
HSLhsl(342, 72%, 29%)
HSVhsv(342, 83%, 50%)
CMYKcmyk(0%, 83.5%, 58.3%, 50.2%)
CIE-LABlab(27.59, 45.48, 9.33)
CIE-LCHlch(27.59, 46.42, 11.59°)
OKLaboklab(39.38% 0.1381 0.0235)
OKLCHoklch(39.38% 0.14 9.7)
XYZxyz(9.6641, 5.3068, 3.8829)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1535 #157F5F
analogous
#7F156A #7F1535 #7F2A15
triadic
#7F1535 #357F15 #15357F
tetradic
#7F1535 #6A7F15 #157F5F #2A157F
square
#7F1535 #6A7F15 #157F5F #2A157F
split-complementary
#7F1535 #157F2A #156A7F
monochromatic
#1A040B #4A0C1F #7F1535 #B41E4B #DD3165

Accessibility & contrast

On white

10.19
#7F1535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1535
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1535#FFFFFF#000000##FFFFFF
##7F15351.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333436
Deuteranopia (green-blind)
#4E4932
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1535;
/* rgb */ color: rgb(127, 21, 53);
/* oklch */ color: oklch(39.4% 0.140 9.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f6b',
    500: '#7f1535',
    950: '#000000',
  },
}
SCSS
$custom: #7f1535;
$custom-light: #aa5f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1535",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 341.887,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.14006,
    "h": 9.7
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#7F1535
secondary
#3CB490
accent
#EEB839
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1535

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

Preview Lab → · Contrast checker → · Palette generator →

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