#4F0C30#4F0C30

#4F0C30 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.104 H 353.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4F0C30
RGBrgb(79, 12, 48)
HSLhsl(328, 74%, 18%)
HSVhsv(328, 85%, 31%)
CMYKcmyk(0%, 84.8%, 39.2%, 69%)
CIE-LABlab(16.20, 33.51, -4.91)
CIE-LCHlch(16.20, 33.87, 351.66°)
OKLaboklab(29.13% 0.1029 -0.0126)
OKLCHoklch(29.13% 0.104 353)
XYZxyz(3.8897, 2.1391, 3.0038)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C30 #0C4F2B
analogous
#4C0C4F #4F0C30 #4F0C0F
triadic
#4F0C30 #304F0C #0C304F
tetradic
#4F0C30 #4F4C0C #0C4F2B #0C0F4F
square
#4F0C30 #4F4C0C #0C4F2B #0C0F4F
split-complementary
#4F0C30 #0F4F0C #0C4F4C
monochromatic
#1B0410 #1B0410 #4F0C30 #841450 #B91C71

Accessibility & contrast

On white

14.71
#4F0C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4F0C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C30
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C30#FFFFFF#000000##FFFFFF
##4F0C301.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192031
Deuteranopia (green-blind)
#2C2D2F
Tritanopia (blue-blind)
#56051C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c30;
/* rgb */ color: rgb(79, 12, 48);
/* oklch */ color: oklch(29.1% 0.104 353.0);
Tailwind
colors: {
  custom: {
    50: '#845368',
    500: '#4f0c30',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c30;
$custom-light: #845368;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c30",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 327.761,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29129,
    "c": 0.10363,
    "h": 353
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#4F0C30
secondary
#2C8B58
accent
#F08D38
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F0C30

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

Preview Lab → · Contrast checker → · Palette generator →

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