#2F0523#2F0523

#2F0523 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.079 H 341.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#2F0523
RGBrgb(47, 5, 35)
HSLhsl(317, 81%, 10%)
HSVhsv(317, 89%, 18%)
CMYKcmyk(0%, 89.4%, 25.5%, 81.6%)
CIE-LABlab(7.54, 24.79, -9.11)
CIE-LCHlch(7.54, 26.42, 339.82°)
OKLaboklab(21.32% 0.0746 -0.0245)
OKLCHoklch(21.32% 0.079 341.8)
XYZxyz(1.5300, 0.8344, 1.6703)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0523 #052F11
analogous
#26052F #2F0523 #2F050E
triadic
#2F0523 #232F05 #05232F
tetradic
#2F0523 #2F2605 #052F11 #050E2F
square
#2F0523 #2F2605 #052F11 #050E2F
split-complementary
#2F0523 #0E2F05 #052F26
monochromatic
#1C0315 #1C0315 #2F0523 #660B4C #9E1175

Accessibility & contrast

On white

18.00
#2F0523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0523
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0523#FFFFFF#000000##FFFFFF
##2F05231.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081224
Deuteranopia (green-blind)
#161922
Tritanopia (blue-blind)
#330513
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0523;
/* rgb */ color: rgb(47, 5, 35);
/* oklch */ color: oklch(21.3% 0.079 341.8);
Tailwind
colors: {
  custom: {
    50: '#6a495d',
    500: '#2f0523',
    950: '#000000',
  },
}
SCSS
$custom: #2f0523;
$custom-light: #6a495d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0523",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 317.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21324,
    "c": 0.0785,
    "h": 341.8
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#2F0523
secondary
#1F7136
accent
#F76931
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0523

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

Preview Lab → · Contrast checker → · Palette generator →

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