#7F1245#7F1245

#7F1245 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.147 H 359.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7F1245
RGBrgb(127, 18, 69)
HSLhsl(332, 75%, 28%)
HSVhsv(332, 86%, 50%)
CMYKcmyk(0%, 85.8%, 45.7%, 50.2%)
CIE-LABlab(27.78, 47.68, -1.20)
CIE-LCHlch(27.78, 47.70, 358.55°)
OKLaboklab(39.67% 0.1468 -0.0026)
OKLCHoklch(39.67% 0.147 359)
XYZxyz(10.0437, 5.3757, 6.1378)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1245 #127F4C
analogous
#7F127B #7F1245 #7F1612
triadic
#7F1245 #457F12 #12457F
tetradic
#7F1245 #7B7F12 #127F4C #16127F
square
#7F1245 #7B7F12 #127F4C #16127F
split-complementary
#7F1245 #127F16 #127B7F
monochromatic
#1B040F #490A28 #7F1245 #B51A62 #E12B80

Accessibility & contrast

On white

10.12
#7F1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1245
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1245#FFFFFF#000000##FFFFFF
##7F12451.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3446
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1245;
/* rgb */ color: rgb(127, 18, 69);
/* oklch */ color: oklch(39.7% 0.147 359.0);
Tailwind
colors: {
  custom: {
    50: '#a95f78',
    500: '#7f1245',
    950: '#000000',
  },
}
SCSS
$custom: #7f1245;
$custom-light: #a95f78;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1245",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 331.927,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39673,
    "c": 0.14681,
    "h": 359
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#7F1245
secondary
#38B57A
accent
#F29A36
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1245

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

Preview Lab → · Contrast checker → · Palette generator →

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