#2F0124#2F0124

#2F0124 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.088 H 339.9°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2F0124
RGBrgb(47, 1, 36)
HSLhsl(314, 96%, 9%)
HSVhsv(314, 98%, 18%)
CMYKcmyk(0%, 97.9%, 23.4%, 81.6%)
CIE-LABlab(6.81, 27.15, -11.01)
CIE-LCHlch(6.81, 29.30, 337.94°)
OKLaboklab(20.78% 0.0822 -0.0301)
OKLCHoklch(20.78% 0.088 339.9)
XYZxyz(1.5016, 0.7536, 1.7351)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0124 #012F0C
analogous
#23012F #2F0124 #2F010D
triadic
#2F0124 #242F01 #01242F
tetradic
#2F0124 #2F2301 #012F0C #010D2F
square
#2F0124 #2F2301 #012F0C #010D2F
split-complementary
#2F0124 #0D2F01 #012F23
monochromatic
#1E0117 #1E0117 #2F0124 #6B0252 #A70480

Accessibility & contrast

On white

18.25
#2F0124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0124
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0124#FFFFFF#000000##FFFFFF
##2F01241.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031025
Deuteranopia (green-blind)
#131823
Tritanopia (blue-blind)
#330211
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0124;
/* rgb */ color: rgb(47, 1, 36);
/* oklch */ color: oklch(20.8% 0.088 339.9);
Tailwind
colors: {
  custom: {
    50: '#6a475e',
    500: '#2f0124',
    950: '#000000',
  },
}
SCSS
$custom: #2f0124;
$custom-light: #6a475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0124",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 314.348,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20779,
    "c": 0.08752,
    "h": 339.9
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#2F0124
secondary
#17752D
accent
#FF5C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0124

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

Preview Lab → · Contrast checker → · Palette generator →

#2F0124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva