#7F273E#7F273E

#7F273E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.4% C 0.122 H 8.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7F273E
RGBrgb(127, 39, 62)
HSLhsl(344, 53%, 33%)
HSVhsv(344, 69%, 50%)
CMYKcmyk(0%, 69.3%, 51.2%, 50.2%)
CIE-LABlab(30.19, 39.67, 6.93)
CIE-LCHlch(30.19, 40.27, 9.91°)
OKLaboklab(41.38% 0.1206 0.0179)
OKLCHoklch(41.38% 0.122 8.5)
XYZxyz(10.3483, 6.3122, 5.2299)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F273E #277F68
analogous
#7F276A #7F273E #7F3C27
triadic
#7F273E #3E7F27 #273E7F
tetradic
#7F273E #6A7F27 #277F68 #3C277F
square
#7F273E #6A7F27 #277F68 #3C277F
split-complementary
#7F273E #277F3C #276A7F
monochromatic
#210A10 #501927 #7F273E #AE3555 #CB5574

Accessibility & contrast

On white

9.28
#7F273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F273E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F273E#FFFFFF#000000##FFFFFF
##7F273E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3E
Deuteranopia (green-blind)
#524E3C
Tritanopia (blue-blind)
#8B1830
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f273e;
/* rgb */ color: rgb(127, 39, 62);
/* oklch */ color: oklch(41.4% 0.122 8.5);
Tailwind
colors: {
  custom: {
    50: '#a96773',
    500: '#7f273e',
    950: '#000000',
  },
}
SCSS
$custom: #7f273e;
$custom-light: #a96773;
$custom-dark: #000000;
JSON
{
  "hex": "#7f273e",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 344.318,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.12195,
    "h": 8.5
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#7F273E
secondary
#52B097
accent
#DCB74B
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7F273E

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

Preview Lab → · Contrast checker → · Palette generator →

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