#7F2A40#7F2A40

#7F2A40 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.8% C 0.118 H 8.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7F2A40
RGBrgb(127, 42, 64)
HSLhsl(344, 50%, 33%)
HSVhsv(344, 67%, 50%)
CMYKcmyk(0%, 66.9%, 49.6%, 50.2%)
CIE-LABlab(30.73, 38.52, 6.38)
CIE-LCHlch(30.73, 39.05, 9.41°)
OKLaboklab(41.8% 0.1172 0.0166)
OKLCHoklch(41.8% 0.118 8.1)
XYZxyz(10.5066, 6.5394, 5.5585)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A40 #2A7F69
analogous
#7F2A6A #7F2A40 #7F3F2A
triadic
#7F2A40 #407F2A #2A407F
tetradic
#7F2A40 #6A7F2A #2A7F69 #3F2A7F
square
#7F2A40 #6A7F2A #2A7F69 #3F2A7F
split-complementary
#7F2A40 #2A7F3F #2A6A7F
monochromatic
#230C12 #511B29 #7F2A40 #AD3957 #C95B77

Accessibility & contrast

On white

9.10
#7F2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A40
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A40#FFFFFF#000000##FFFFFF
##7F2A401.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E40
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#8A1D33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2a40;
/* rgb */ color: rgb(127, 42, 64);
/* oklch */ color: oklch(41.8% 0.118 8.1);
Tailwind
colors: {
  custom: {
    50: '#a86974',
    500: '#7f2a40',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a40;
$custom-light: #a86974;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a40",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 344.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41804,
    "c": 0.11833,
    "h": 8.1
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#7F2A40
secondary
#57AE98
accent
#DAB64E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7F2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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