#0F5151#0F5151

#0F5151 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.062 H 194.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5151
RGBrgb(15, 81, 81)
HSLhsl(180, 69%, 19%)
HSVhsv(180, 81%, 32%)
CMYKcmyk(81.5%, 0%, 0%, 68.2%)
CIE-LABlab(30.83, -19.33, -5.76)
CIE-LCHlch(30.83, 20.17, 196.59°)
OKLaboklab(39.65% -0.06 -0.016)
OKLCHoklch(39.65% 0.062 194.9)
XYZxyz(4.6240, 6.5799, 8.8093)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5151 #510F0F
analogous
#0F5130 #0F5151 #0F3051
triadic
#0F5151 #510F51 #51510F
tetradic
#0F5151 #300F51 #510F0F #30510F
square
#0F5151 #300F51 #510F0F #30510F
split-complementary
#0F5151 #510F30 #51300F
monochromatic
#051A1A #051D1D #0F5151 #198585 #22B8B8

Accessibility & contrast

On white

9.07
#0F5151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0F5151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5151
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5151#FFFFFF#000000##FFFFFF
##0F51511.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D51
Deuteranopia (green-blind)
#424651
Tritanopia (blue-blind)
#005451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5151;
/* rgb */ color: rgb(15, 81, 81);
/* oklch */ color: oklch(39.6% 0.062 194.9);
Tailwind
colors: {
  custom: {
    50: '#5b8281',
    500: '#0f5151',
    950: '#000000',
  },
}
SCSS
$custom: #0f5151;
$custom-light: #5b8281;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5151",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.06214,
    "h": 194.9
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#0F5151
secondary
#8B3131
accent
#3C3CEC
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0F5151

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

Preview Lab → · Contrast checker → · Palette generator →

#0F5151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva