#7F113C#7F113C

#7F113C is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.145 H 4.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7F113C
RGBrgb(127, 17, 60)
HSLhsl(337, 76%, 28%)
HSVhsv(337, 87%, 50%)
CMYKcmyk(0%, 86.6%, 52.8%, 50.2%)
CIE-LABlab(27.41, 47.10, 4.33)
CIE-LCHlch(27.41, 47.30, 5.26°)
OKLaboklab(39.31% 0.1443 0.0115)
OKLCHoklch(39.31% 0.145 4.5)
XYZxyz(9.7694, 5.2406, 4.7712)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F113C #117F54
analogous
#7F1173 #7F113C #7F1D11
triadic
#7F113C #3C7F11 #113C7F
tetradic
#7F113C #737F11 #117F54 #1D117F
square
#7F113C #737F11 #117F54 #1D117F
split-complementary
#7F113C #117F1D #11737F
monochromatic
#1B040D #490A22 #7F113C #B51856 #E22871

Accessibility & contrast

On white

10.25
#7F113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F113C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F113C#FFFFFF#000000##FFFFFF
##7F113C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333D
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f113c;
/* rgb */ color: rgb(127, 17, 60);
/* oklch */ color: oklch(39.3% 0.145 4.5);
Tailwind
colors: {
  custom: {
    50: '#aa5e71',
    500: '#7f113c',
    950: '#000000',
  },
}
SCSS
$custom: #7f113c;
$custom-light: #aa5e71;
$custom-dark: #000000;
JSON
{
  "hex": "#7f113c",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 336.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.14476,
    "h": 4.5
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#7F113C
secondary
#37B584
accent
#F3A935
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F113C

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

Preview Lab → · Contrast checker → · Palette generator →

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