#7F1130#7F1130

#7F1130 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 12.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7F1130
RGBrgb(127, 17, 48)
HSLhsl(343, 76%, 28%)
HSVhsv(343, 87%, 50%)
CMYKcmyk(0%, 86.6%, 62.2%, 50.2%)
CIE-LABlab(27.10, 46.18, 12.04)
CIE-LCHlch(27.10, 47.72, 14.61°)
OKLaboklab(38.98% 0.1395 0.0297)
OKLCHoklch(38.98% 0.143 12)
XYZxyz(9.4873, 5.1278, 3.2859)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1130 #117F60
analogous
#7F1167 #7F1130 #7F2911
triadic
#7F1130 #307F11 #11307F
tetradic
#7F1130 #677F11 #117F60 #29117F
square
#7F1130 #677F11 #117F60 #29117F
split-complementary
#7F1130 #117F29 #11677F
monochromatic
#1B040A #490A1C #7F1130 #B51844 #E2285D

Accessibility & contrast

On white

10.37
#7F1130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1130
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1130#FFFFFF#000000##FFFFFF
##7F11301.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323230
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1130;
/* rgb */ color: rgb(127, 17, 48);
/* oklch */ color: oklch(39.0% 0.143 12.0);
Tailwind
colors: {
  custom: {
    50: '#ab5e67',
    500: '#7f1130',
    950: '#000000',
  },
}
SCSS
$custom: #7f1130;
$custom-light: #ab5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1130",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 343.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.14258,
    "h": 12
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#7F1130
secondary
#37B591
accent
#F3BD35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1130

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

Preview Lab → · Contrast checker → · Palette generator →

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