#7F235E#7F235E

#7F235E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.141 H 345.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F235E
RGBrgb(127, 35, 94)
HSLhsl(322, 57%, 32%)
HSVhsv(322, 72%, 50%)
CMYKcmyk(0%, 72.4%, 26%, 50.2%)
CIE-LABlab(30.70, 45.12, -13.33)
CIE-LCHlch(30.70, 47.05, 343.54°)
OKLaboklab(42.12% 0.1365 -0.0354)
OKLCHoklch(42.12% 0.141 345.5)
XYZxyz(11.3743, 6.5234, 11.2476)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F235E #237F44
analogous
#72237F #7F235E #7F2330
triadic
#7F235E #5E7F23 #235E7F
tetradic
#7F235E #7F7223 #237F44 #23307F
square
#7F235E #7F7223 #237F44 #23307F
split-complementary
#7F235E #307F23 #237F72
monochromatic
#1F0917 #4F163A #7F235E #AF3082 #CE4EA0

Accessibility & contrast

On white

9.11
#7F235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F235E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F235E#FFFFFF#000000##FFFFFF
##7F235E1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#494E5C
Tritanopia (blue-blind)
#88213D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f235e;
/* rgb */ color: rgb(127, 35, 94);
/* oklch */ color: oklch(42.1% 0.141 345.5);
Tailwind
colors: {
  custom: {
    50: '#a7668b',
    500: '#7f235e',
    950: '#000000',
  },
}
SCSS
$custom: #7f235e;
$custom-light: #a7668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f235e",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 321.522,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.14097,
    "h": 345.5
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#7F235E
secondary
#4CB171
accent
#E07E48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F235E

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

Preview Lab → · Contrast checker → · Palette generator →

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