#7F102C#7F102C

#7F102C is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.143 H 14.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7F102C
RGBrgb(127, 16, 44)
HSLhsl(345, 78%, 28%)
HSVhsv(345, 87%, 50%)
CMYKcmyk(0%, 87.4%, 65.4%, 50.2%)
CIE-LABlab(26.92, 46.16, 14.51)
CIE-LCHlch(26.92, 48.39, 17.45°)
OKLaboklab(38.82% 0.1386 0.0352)
OKLCHoklch(38.82% 0.143 14.2)
XYZxyz(9.3933, 5.0659, 2.8656)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F102C #107F63
analogous
#7F1063 #7F102C #7F2C10
triadic
#7F102C #2C7F10 #102C7F
tetradic
#7F102C #637F10 #107F63 #2C107F
square
#7F102C #637F10 #107F63 #2C107F
split-complementary
#7F102C #107F2C #10637F
monochromatic
#1B0309 #490919 #7F102C #B5173F #E42656

Accessibility & contrast

On white

10.43
#7F102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F102C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F102C#FFFFFF#000000##FFFFFF
##7F102C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312C
Deuteranopia (green-blind)
#4E4829
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f102c;
/* rgb */ color: rgb(127, 16, 44);
/* oklch */ color: oklch(38.8% 0.143 14.2);
Tailwind
colors: {
  custom: {
    50: '#ab5d64',
    500: '#7f102c',
    950: '#000000',
  },
}
SCSS
$custom: #7f102c;
$custom-light: #ab5d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f102c",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 344.865,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.14295,
    "h": 14.2
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#7F102C
secondary
#36B595
accent
#F4C434
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F102C

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

Preview Lab → · Contrast checker → · Palette generator →

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