#7F235C#7F235C

#7F235C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.140 H 346.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7F235C
RGBrgb(127, 35, 92)
HSLhsl(323, 57%, 32%)
HSVhsv(323, 72%, 50%)
CMYKcmyk(0%, 72.4%, 27.6%, 50.2%)
CIE-LABlab(30.61, 44.84, -12.16)
CIE-LCHlch(30.61, 46.46, 344.83°)
OKLaboklab(42.03% 0.136 -0.0321)
OKLCHoklch(42.03% 0.14 346.7)
XYZxyz(11.2857, 6.4880, 10.7811)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F235C #237F46
analogous
#74237F #7F235C #7F232E
triadic
#7F235C #5C7F23 #235C7F
tetradic
#7F235C #7F7423 #237F46 #232E7F
square
#7F235C #7F7423 #237F46 #232E7F
split-complementary
#7F235C #2E7F23 #237F74
monochromatic
#1F0916 #4F1639 #7F235C #AF307F #CE4E9E

Accessibility & contrast

On white

9.14
#7F235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F235C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F235C#FFFFFF#000000##FFFFFF
##7F235C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#88203C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f235c;
/* rgb */ color: rgb(127, 35, 92);
/* oklch */ color: oklch(42.0% 0.140 346.7);
Tailwind
colors: {
  custom: {
    50: '#a8668a',
    500: '#7f235c',
    950: '#000000',
  },
}
SCSS
$custom: #7f235c;
$custom-light: #a8668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f235c",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 322.826,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.13974,
    "h": 346.7
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#7F235C
secondary
#4CB173
accent
#E08248
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F235C

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

Preview Lab → · Contrast checker → · Palette generator →

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