#7F235F#7F235F

#7F235F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.142 H 344.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7F235F
RGBrgb(127, 35, 95)
HSLhsl(321, 57%, 32%)
HSVhsv(321, 72%, 50%)
CMYKcmyk(0%, 72.4%, 25.2%, 50.2%)
CIE-LABlab(30.74, 45.26, -13.91)
CIE-LCHlch(30.74, 47.35, 342.91°)
OKLaboklab(42.16% 0.1367 -0.037)
OKLCHoklch(42.16% 0.142 344.8)
XYZxyz(11.4194, 6.5415, 11.4855)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F235F #237F43
analogous
#71237F #7F235F #7F2331
triadic
#7F235F #5F7F23 #235F7F
tetradic
#7F235F #7F7123 #237F43 #23317F
square
#7F235F #7F7123 #237F43 #23317F
split-complementary
#7F235F #317F23 #237F71
monochromatic
#1F0917 #4F163B #7F235F #AF3083 #CE4EA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F235F#FFFFFF#000000##FFFFFF
##7F235F1.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)
#2D3E61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#88223D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f235f;
/* rgb */ color: rgb(127, 35, 95);
/* oklch */ color: oklch(42.2% 0.142 344.8);
Tailwind
colors: {
  custom: {
    50: '#a7668c',
    500: '#7f235f',
    950: '#000000',
  },
}
SCSS
$custom: #7f235f;
$custom-light: #a7668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f235f",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 320.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.14161,
    "h": 344.8
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#7F235F
secondary
#4CB170
accent
#E07D48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F235F

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

Preview Lab → · Contrast checker → · Palette generator →

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