#7F1233#7F1233

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

Color values

HEX#7F1233
RGBrgb(127, 18, 51)
HSLhsl(342, 75%, 28%)
HSVhsv(342, 86%, 50%)
CMYKcmyk(0%, 85.8%, 59.8%, 50.2%)
CIE-LABlab(27.26, 46.14, 10.22)
CIE-LCHlch(27.26, 47.26, 12.49°)
OKLaboklab(39.12% 0.1399 0.0256)
OKLCHoklch(39.12% 0.142 10.4)
XYZxyz(9.5672, 5.1851, 3.6284)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1233 #127F5E
analogous
#7F1269 #7F1233 #7F2712
triadic
#7F1233 #337F12 #12337F
tetradic
#7F1233 #697F12 #127F5E #27127F
square
#7F1233 #697F12 #127F5E #27127F
split-complementary
#7F1233 #127F27 #12697F
monochromatic
#1B040B #490A1D #7F1233 #B51A49 #E12B62

Accessibility & contrast

On white

10.31
#7F1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1233
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1233#FFFFFF#000000##FFFFFF
##7F12331.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323233
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1233;
/* rgb */ color: rgb(127, 18, 51);
/* oklch */ color: oklch(39.1% 0.142 10.4);
Tailwind
colors: {
  custom: {
    50: '#aa5e6a',
    500: '#7f1233',
    950: '#000000',
  },
}
SCSS
$custom: #7f1233;
$custom-light: #aa5e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1233",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 341.835,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.1422,
    "h": 10.4
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7F1233
secondary
#38B58F
accent
#F2B936
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1233

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

Preview Lab → · Contrast checker → · Palette generator →

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