#7F1234#7F1234

#7F1234 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.142 H 9.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7F1234
RGBrgb(127, 18, 52)
HSLhsl(341, 75%, 28%)
HSVhsv(341, 86%, 50%)
CMYKcmyk(0%, 85.8%, 59.1%, 50.2%)
CIE-LABlab(27.28, 46.21, 9.58)
CIE-LCHlch(27.28, 47.20, 11.71°)
OKLaboklab(39.15% 0.1403 0.0241)
OKLCHoklch(39.15% 0.142 9.7)
XYZxyz(9.5895, 5.1940, 3.7457)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1234 #127F5D
analogous
#7F126A #7F1234 #7F2612
triadic
#7F1234 #347F12 #12347F
tetradic
#7F1234 #6A7F12 #127F5D #26127F
square
#7F1234 #6A7F12 #127F5D #26127F
split-complementary
#7F1234 #127F26 #126A7F
monochromatic
#1B040B #490A1E #7F1234 #B51A4A #E12B63

Accessibility & contrast

On white

10.30
#7F1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1234
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1234#FFFFFF#000000##FFFFFF
##7F12341.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323235
Deuteranopia (green-blind)
#4E4831
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1234;
/* rgb */ color: rgb(127, 18, 52);
/* oklch */ color: oklch(39.1% 0.142 9.7);
Tailwind
colors: {
  custom: {
    50: '#aa5e6b',
    500: '#7f1234',
    950: '#000000',
  },
}
SCSS
$custom: #7f1234;
$custom-light: #aa5e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1234",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 341.284,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.14235,
    "h": 9.7
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#7F1234
secondary
#38B58E
accent
#F2B736
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1234

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

Preview Lab → · Contrast checker → · Palette generator →

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