#7F1235#7F1235

#7F1235 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.143 H 9.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1235
RGBrgb(127, 18, 53)
HSLhsl(341, 75%, 28%)
HSVhsv(341, 86%, 50%)
CMYKcmyk(0%, 85.8%, 58.3%, 50.2%)
CIE-LABlab(27.31, 46.29, 8.93)
CIE-LCHlch(27.31, 47.14, 10.92°)
OKLaboklab(39.17% 0.1407 0.0226)
OKLCHoklch(39.17% 0.143 9.1)
XYZxyz(9.6123, 5.2031, 3.8656)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1235 #127F5C
analogous
#7F126B #7F1235 #7F2512
triadic
#7F1235 #357F12 #12357F
tetradic
#7F1235 #6B7F12 #127F5C #25127F
square
#7F1235 #6B7F12 #127F5C #25127F
split-complementary
#7F1235 #127F25 #126B7F
monochromatic
#1B040B #490A1F #7F1235 #B51A4B #E12B65

Accessibility & contrast

On white

10.29
#7F1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1235
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1235#FFFFFF#000000##FFFFFF
##7F12351.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1235;
/* rgb */ color: rgb(127, 18, 53);
/* oklch */ color: oklch(39.2% 0.143 9.1);
Tailwind
colors: {
  custom: {
    50: '#aa5e6b',
    500: '#7f1235',
    950: '#000000',
  },
}
SCSS
$custom: #7f1235;
$custom-light: #aa5e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1235",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 340.734,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.14251,
    "h": 9.1
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7F1235
secondary
#38B58D
accent
#F2B536
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1235

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

Preview Lab → · Contrast checker → · Palette generator →

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