#4F1235#4F1235

#4F1235 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.099 H 349.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4F1235
RGBrgb(79, 18, 53)
HSLhsl(326, 63%, 19%)
HSVhsv(326, 77%, 31%)
CMYKcmyk(0%, 77.2%, 32.9%, 69%)
CIE-LABlab(17.24, 31.86, -6.92)
CIE-LCHlch(17.24, 32.60, 347.74°)
OKLaboklab(29.96% 0.0971 -0.0181)
OKLCHoklch(29.96% 0.099 349.4)
XYZxyz(4.0836, 2.3524, 3.6065)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1235 #124F2C
analogous
#4B124F #4F1235 #4F1217
triadic
#4F1235 #354F12 #12354F
tetradic
#4F1235 #4F4B12 #124F2C #12174F
square
#4F1235 #4F4B12 #124F2C #12174F
split-complementary
#4F1235 #174F12 #124F4B
monochromatic
#190611 #1D0714 #4F1235 #811D56 #B32978

Accessibility & contrast

On white

14.28
#4F1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F1235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1235
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1235#FFFFFF#000000##FFFFFF
##4F12351.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2436
Deuteranopia (green-blind)
#2D2E34
Tritanopia (blue-blind)
#550F21
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1235;
/* rgb */ color: rgb(79, 18, 53);
/* oklch */ color: oklch(30.0% 0.099 349.4);
Tailwind
colors: {
  custom: {
    50: '#83566c',
    500: '#4f1235',
    950: '#000000',
  },
}
SCSS
$custom: #4f1235;
$custom-light: #83566c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1235",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 325.574,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29957,
    "c": 0.09875,
    "h": 349.4
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#4F1235
secondary
#358858
accent
#E68842
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F1235

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

Preview Lab → · Contrast checker → · Palette generator →

#4F1235 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva