#7F1253#7F1253

#7F1253 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.153 H 350.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7F1253
RGBrgb(127, 18, 83)
HSLhsl(324, 75%, 28%)
HSVhsv(324, 86%, 50%)
CMYKcmyk(0%, 85.8%, 34.6%, 50.2%)
CIE-LABlab(28.30, 49.19, -9.77)
CIE-LCHlch(28.30, 50.15, 348.77°)
OKLaboklab(40.22% 0.151 -0.0254)
OKLCHoklch(40.22% 0.153 350.4)
XYZxyz(10.5307, 5.5705, 8.7026)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1253 #127F3E
analogous
#74127F #7F1253 #7F121D
triadic
#7F1253 #537F12 #12537F
tetradic
#7F1253 #7F7412 #127F3E #121D7F
square
#7F1253 #7F7412 #127F3E #121D7F
split-complementary
#7F1253 #1D7F12 #127F74
monochromatic
#1B0412 #490A30 #7F1253 #B51A76 #E12B97

Accessibility & contrast

On white

9.93
#7F1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1253
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1253#FFFFFF#000000##FFFFFF
##7F12531.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283755
Deuteranopia (green-blind)
#474A51
Tritanopia (blue-blind)
#890632
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1253;
/* rgb */ color: rgb(127, 18, 83);
/* oklch */ color: oklch(40.2% 0.153 350.4);
Tailwind
colors: {
  custom: {
    50: '#a95f83',
    500: '#7f1253',
    950: '#000000',
  },
}
SCSS
$custom: #7f1253;
$custom-light: #a95f83;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1253",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 324.22,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.15309,
    "h": 350.4
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#7F1253
secondary
#38B56A
accent
#F28236
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1253

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

Preview Lab → · Contrast checker → · Palette generator →

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