#4F1230#4F1230

#4F1230 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 354.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4F1230
RGBrgb(79, 18, 48)
HSLhsl(330, 63%, 19%)
HSVhsv(330, 77%, 31%)
CMYKcmyk(0%, 77.2%, 39.2%, 69%)
CIE-LABlab(17.03, 31.18, -3.67)
CIE-LCHlch(17.03, 31.39, 353.28°)
OKLaboklab(29.74% 0.0955 -0.0093)
OKLCHoklch(29.74% 0.096 354.4)
XYZxyz(3.9745, 2.3087, 3.0321)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1230 #124F31
analogous
#4F124F #4F1230 #4F1312
triadic
#4F1230 #304F12 #12304F
tetradic
#4F1230 #4F4F12 #124F31 #13124F
square
#4F1230 #4F4F12 #124F31 #13124F
split-complementary
#4F1230 #124F13 #124F4F
monochromatic
#19060F #1D0712 #4F1230 #811D4E #B3296D

Accessibility & contrast

On white

14.37
#4F1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1230
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1230#FFFFFF#000000##FFFFFF
##4F12301.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2331
Deuteranopia (green-blind)
#2E2E2F
Tritanopia (blue-blind)
#560D1F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1230;
/* rgb */ color: rgb(79, 18, 48);
/* oklch */ color: oklch(29.7% 0.096 354.4);
Tailwind
colors: {
  custom: {
    50: '#835668',
    500: '#4f1230',
    950: '#000000',
  },
}
SCSS
$custom: #4f1230;
$custom-light: #835668;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1230",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 330.492,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29737,
    "c": 0.09593,
    "h": 354.4
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#4F1230
secondary
#35885F
accent
#E69542
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F1230

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

Preview Lab → · Contrast checker → · Palette generator →

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