#7F233F#7F233F

#7F233F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.127 H 6.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7F233F
RGBrgb(127, 35, 63)
HSLhsl(342, 57%, 32%)
HSVhsv(342, 72%, 50%)
CMYKcmyk(0%, 72.4%, 50.4%, 50.2%)
CIE-LABlab(29.60, 41.46, 5.44)
CIE-LCHlch(29.60, 41.81, 7.47°)
OKLaboklab(40.95% 0.1264 0.0142)
OKLCHoklch(40.95% 0.127 6.4)
XYZxyz(10.2515, 6.0743, 5.3343)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F233F #237F63
analogous
#7F236D #7F233F #7F3523
triadic
#7F233F #3F7F23 #233F7F
tetradic
#7F233F #6D7F23 #237F63 #35237F
square
#7F233F #6D7F23 #237F63 #35237F
split-complementary
#7F233F #237F35 #236D7F
monochromatic
#1F090F #4F1627 #7F233F #AF3057 #CE4E75

Accessibility & contrast

On white

9.48
#7F233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F233F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F233F#FFFFFF#000000##FFFFFF
##7F233F1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#8B132E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f233f;
/* rgb */ color: rgb(127, 35, 63);
/* oklch */ color: oklch(41.0% 0.127 6.4);
Tailwind
colors: {
  custom: {
    50: '#a96573',
    500: '#7f233f',
    950: '#000000',
  },
}
SCSS
$custom: #7f233f;
$custom-light: #a96573;
$custom-dark: #000000;
JSON
{
  "hex": "#7f233f",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 341.739,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.12723,
    "h": 6.4
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#7F233F
secondary
#4CB193
accent
#E0B248
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F233F

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

Preview Lab → · Contrast checker → · Palette generator →

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