#7F1230#7F1230

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

Color values

HEX#7F1230
RGBrgb(127, 18, 48)
HSLhsl(343, 75%, 28%)
HSVhsv(343, 86%, 50%)
CMYKcmyk(0%, 85.8%, 62.2%, 50.2%)
CIE-LABlab(27.18, 45.93, 12.15)
CIE-LCHlch(27.18, 47.51, 14.82°)
OKLaboklab(39.04% 0.1386 0.03)
OKLCHoklch(39.04% 0.142 12.2)
XYZxyz(9.5032, 5.1595, 3.2912)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1230 #127F61
analogous
#7F1266 #7F1230 #7F2A12
triadic
#7F1230 #307F12 #12307F
tetradic
#7F1230 #667F12 #127F61 #2A127F
square
#7F1230 #667F12 #127F61 #2A127F
split-complementary
#7F1230 #127F2A #12667F
monochromatic
#1B040A #490A1C #7F1230 #B51A44 #E12B5D

Accessibility & contrast

On white

10.34
#7F1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1230
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1230#FFFFFF#000000##FFFFFF
##7F12301.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333230
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1230;
/* rgb */ color: rgb(127, 18, 48);
/* oklch */ color: oklch(39.0% 0.142 12.2);
Tailwind
colors: {
  custom: {
    50: '#ab5e67',
    500: '#7f1230',
    950: '#000000',
  },
}
SCSS
$custom: #7f1230;
$custom-light: #ab5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1230",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 343.486,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.14183,
    "h": 12.2
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#7F1230
secondary
#38B592
accent
#F2BE36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1230

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

Preview Lab → · Contrast checker → · Palette generator →

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