#7F0E38#7F0E38

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

Color values

HEX#7F0E38
RGBrgb(127, 14, 56)
HSLhsl(338, 80%, 28%)
HSVhsv(338, 89%, 50%)
CMYKcmyk(0%, 89%, 55.9%, 50.2%)
CIE-LABlab(27.05, 47.47, 6.54)
CIE-LCHlch(27.05, 47.92, 7.85°)
OKLaboklab(39.01% 0.145 0.0169)
OKLCHoklch(39.01% 0.146 6.6)
XYZxyz(9.6242, 5.1131, 4.2208)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0E38 #0E7F55
analogous
#7F0E71 #7F0E38 #7F1C0E
triadic
#7F0E38 #387F0E #0E387F
tetradic
#7F0E38 #717F0E #0E7F55 #1C0E7F
square
#7F0E38 #717F0E #0E7F55 #1C0E7F
split-complementary
#7F0E38 #0E7F1C #0E717F
monochromatic
#1C030C #480820 #7F0E38 #B61450 #E7216A

Accessibility & contrast

On white

10.38
#7F0E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F0E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0E38
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0E38#FFFFFF#000000##FFFFFF
##7F0E381.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f0e38;
/* rgb */ color: rgb(127, 14, 56);
/* oklch */ color: oklch(39.0% 0.146 6.6);
Tailwind
colors: {
  custom: {
    50: '#aa5d6e',
    500: '#7f0e38',
    950: '#000000',
  },
}
SCSS
$custom: #7f0e38;
$custom-light: #aa5d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0e38",
  "rgb": {
    "r": 127,
    "g": 14,
    "b": 56
  },
  "hsl": {
    "h": 337.699,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.14597,
    "h": 6.6
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#7F0E38
secondary
#33B685
accent
#F7AD31
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F0E38

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

Preview Lab → · Contrast checker → · Palette generator →

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