#7F1A45#7F1A45

#7F1A45 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.139 H 0.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7F1A45
RGBrgb(127, 26, 69)
HSLhsl(334, 66%, 30%)
HSVhsv(334, 80%, 50%)
CMYKcmyk(0%, 79.5%, 45.7%, 50.2%)
CIE-LABlab(28.59, 45.36, -0.01)
CIE-LCHlch(28.59, 45.36, 359.99°)
OKLaboklab(40.27% 0.1393 0.0005)
OKLCHoklch(40.27% 0.139 0.2)
XYZxyz(10.1968, 5.6818, 6.1888)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A45 #1A7F54
analogous
#7F1A78 #7F1A45 #7F211A
triadic
#7F1A45 #457F1A #1A457F
tetradic
#7F1A45 #787F1A #1A7F54 #211A7F
square
#7F1A45 #787F1A #1A7F54 #211A7F
split-complementary
#7F1A45 #1A7F21 #1A787F
monochromatic
#19050E #4C1029 #7F1A45 #B22461 #D73C7E

Accessibility & contrast

On white

9.83
#7F1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A45
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A45#FFFFFF#000000##FFFFFF
##7F1A451.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4D4A43
Tritanopia (blue-blind)
#8A062D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1a45;
/* rgb */ color: rgb(127, 26, 69);
/* oklch */ color: oklch(40.3% 0.139 0.2);
Tailwind
colors: {
  custom: {
    50: '#a96278',
    500: '#7f1a45',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a45;
$custom-light: #a96278;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a45",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 334.455,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.13932,
    "h": 0.2
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#7F1A45
secondary
#42B383
accent
#E9A13F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #7F1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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